This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
it_services:pf:printing [2018/12/13 12:17] florido |
it_services:pf:printing [2019/05/15 13:24] florido [Installation if connected via ethernet cable] |
||
---|---|---|---|
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 idea. OSX uses the same CUPS system as linux ,so I guess it's easy. If anybody wants to write this, contact 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 field, enter 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 drivers. MAC 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 interface, you 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/''. | ||
---- | ---- |