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
Last revision Both sides next revision
it_services:pf:printing [2018/11/30 10:28]
florido [Installation if connected via ethernet cable]
it_services:pf:printing [2020/10/30 14:06]
florido [Installation if connected via Wireless]
Line 1: Line 1:
 ====== Printing ====== ====== Printing ======
 +
 +:!: this page needs to be updated. Sorry for the inconvenience. :!:
  
 Printing is provided in two different ways: Printing is provided in two different ways:
Line 7: Line 9:
     * Laptops with cable connection might **install the printers** [[#​Installation if connected via ethernet cable| following these instructions]]     * Laptops with cable connection might **install the printers** [[#​Installation if connected via ethernet cable| following these instructions]]
  
-  * **Wireless printing is disabled for security reasons.**<​del>​For machines connected to the network via **wireless**,​ one must connect **directly** to each printer and configure it. +  * For machines connected to the network via **wireless**,​ one must connect **directly** to each printer and configure it.
-    * [[#​Installation_if_connected_via_Wireless|Click here for installation instructions]]</​del>​+
  
 ===== About the available printers ===== ===== About the available printers =====
Line 121: Line 122:
  
 Might be useful if you want to print something that Leonardo D. has written. Might be useful if you want to print something that Leonardo D. has written.
-Combining options+ 
 +== Combining options ​==
 You can combine the options, like in the following example You can combine the options, like in the following example
  
Line 185: Line 187:
  
 Follow these steps: Follow these steps:
-  - become root and shut down cups (may vary depending on distribution):​ <​code>​sudo service cups stop</​code> ​+  - become root and shut down cups (may vary depending on distribution):​ <code:bash># If running Ubuntu < 16.04  
 + sudo service cups stop 
 +# If running Ubuntu >= 16.04  
 + sudo systemctl stop cups 
 +</​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.
   - merge or add the contents of the file at the end of your ''/​etc/​cups/​printers.conf''​ file and save. You can also overwrite the existing file if you just intend to use the division printers.   - merge or add the contents of the file at the end of your ''/​etc/​cups/​printers.conf''​ file and save. You can also overwrite the existing file if you just intend to use the division printers.
-  - restart cups <​code>​sudo service cups start</​code>​+  - restart cups <code:bash># If running Ubuntu < 16.04  
 + sudo service cups start 
 +# If running Ubuntu >= 16.04  
 + sudo systemctl start cups 
 +</​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 198: Line 208:
 Follow these steps: Follow these steps:
  
-  - become root and shut down cups (may vary depending on distribution):​ <​code>​sudo service cups stop</​code> ​+  - become root and shut down cups (may vary depending on distribution):​ <code:bash># If running Ubuntu < 16.04  
 + sudo service cups stop 
 +# If running Ubuntu >= 16.04  
 + sudo systemctl stop cups 
 +</​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>​
   - test with ''​lpstat -a'',​ you should see the list of all configured printers.   - test with ''​lpstat -a'',​ you should see the list of all configured printers.
Line 236: Line 250:
 === 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 O.] 
 +  - 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/''​.
  
 ---- ----
Line 242: Line 273:
 ==== Installation if connected via Wireless ==== ==== Installation if connected via Wireless ====
  
-The best is to book a time with me if you need to install. +This documentation ​is still to be writtenPlease use [#evil_and_time-consuming ​|solution 4)above for Linux. 
- +For Windows or Mac it is recommended to connect ​to the printer directly at the moment, as the print server is not fully compatible with non-linux systems yet.
-If you really want to do yourself: +
- +
-Root/Admin privileges: might be needed if you need to install new drivers +
- +
-Install the printer drivers yourself, and then install the printer by using its hostname. +
-When choosing the printer driver, I suggest either PS or PCL. The result may vary depending on the printer. +
- +
-This may vary depending on the printer vendor, and Linux may or may not have the drivers. +
-A list of tested working drivers is provided [[#Drivers|here]+
- +
-All you need to do is to provide ​the hostname of the printerIn most cases it will work if you use +
- +
-  socket://<​printer FQDN>:​9100 +
-or +
-  http://<​printer FQDN> +
-   +
-e.g. +
- +
-  socket://​lw1.hep.lu.se:​9100 +
-  http://​clw2.hep.lu.se +
  
 ---- ----
it_services/pf/printing.txt · Last modified: 2020/10/30 14:09 by florido

Accessibility Statement