User Tools

Site Tools


it_services:pf:printing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
it_services:pf:printing [2018/11/30 10:33]
florido [Installation if connected via ethernet cable]
it_services:pf:printing [2019/05/15 13:23]
florido [Installation if connected via ethernet cable]
Line 188: Line 188:
  sudo service cups stop  sudo service cups stop
 # If running Ubuntu >= 16.04  # If running Ubuntu >= 16.04 
- sudo systemctl ​cups stop+ sudo systemctl stop cups
 </​code> ​ </​code> ​
   - download {{ :​it_services:​pf:​printers.conf.tar.gz | this file}} and extract it somewhere.   - download {{ :​it_services:​pf:​printers.conf.tar.gz | this file}} and extract it somewhere.
Line 195: Line 195:
  sudo service cups start  sudo service cups start
 # If running Ubuntu >= 16.04  # If running Ubuntu >= 16.04 
- sudo systemctl ​cups start+ sudo systemctl start cups
 </​code> ​ </​code> ​
   - test with ''​lpstat -a'',​ you should see the list of configured printers.   - test with ''​lpstat -a'',​ you should see the list of configured printers.
Line 209: Line 209:
  sudo service cups stop  sudo service cups stop
 # If running Ubuntu >= 16.04  # If running Ubuntu >= 16.04 
- sudo systemctl ​cups stop+ sudo systemctl stop cups
 </​code>  ​ </​code>  ​
   - add this line to ''/​etc/​cups/​client.conf''​ (create it if it doesn'​t exist): <​code>​ServerName cups.hep.lu.se</​code>​   - add this line to ''/​etc/​cups/​client.conf''​ (create it if it doesn'​t exist): <​code>​ServerName cups.hep.lu.se</​code>​
Line 248: Line 248:
 === MacOS X === === MacOS X ===
  
-No ideaOSX uses the same CUPS system as linux ,so I guess it'​s ​easyIf anybody wants to write thiscontact me.+[thanks to Alice Ohlson] 
 +  - Go to **System Preferences** > **Printers & Scanners**. 
 +  - Click the **+** sign to add a printer. 
 +  - Go to the **IP** tab. 
 +  - Then there are two (alternative) options: 
 +    - **Alt. 1**:​(Recommended) This will automatically detect the printer drivers. 
 +      - In the Address fieldenter the hostname (e.g. ''​lw1.hep.lu.se''​). 
 +      - The rest of the information will be filled in automatically (you can change the Name and Location fields to something more useful). 
 +      - Click "​Add"​. 
 +    - **Alt. 2**: This will go through the division print server, ensuring that the printer is only contacted via the server. Unfortunately the division'​s ​cups server does not share printer driversMAC will pick the "​Generic Postscript printer"​ which will miss most of the printers feature. 
 +      - In the Address field, enter the CUPS server (''​cups.hep.lu.se:​631''​). 
 +      - In the Queue field, enter enter the queue (**printers/​lw1**). 
 +        - You can change the Name and Location fields ​to something more useful. 
 +      - Click "​Add"​. 
 + 
 +In order to see the printers through the CUPS web interfaceyou will probably need to enable it on the command line: 
 +<​code:​bash>​ sudo cupsctl WebInterface=yes</​code>​ 
 +Then you can see the printers in the browser by going to ''​http://​localhost:​631/​printers/''​.
  
 ---- ----
it_services/pf/printing.txt · Last modified: 2023/08/02 08:00 by florido

Accessibility Statement