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 [2016/05/10 17:03]
florido
it_services:pf:printing [2019/05/15 13:25]
florido [Installation if connected via Wireless]
Line 7: Line 7:
     * 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]]
  
-  * For machines connected to the network via **wireless**,​ one must connect **directly** to each printer and configure it. +  * **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. 
-    * [[#​Installation_if_connected_via_Wireless|Click here for installation instructions]]+    * [[#​Installation_if_connected_via_Wireless|Click here for installation instructions]]</​del>​
  
 ===== About the available printers ===== ===== About the available printers =====
Line 185: Line 185:
  
 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  
-  - download ​this file (sorry I didn't have the time to craft this yet... stay tuned) + sudo service cups stop 
-  - merge or add the contents of the file at the end of your ''/​etc/​cups/​printers.conf''​ file and save. +# If running Ubuntu >= 16.04  
-  - restart cups <​code>​sudo service cups start</​code>​+ sudo systemctl stop cups 
 +</​code>​  
 +  - 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
 +  - 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 206:
 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 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/''​.
  
 ---- ----
Line 242: Line 271:
 ==== Installation if connected via Wireless ==== ==== Installation if connected via Wireless ====
  
-The best is to book a time with me if you need to install. +The printers currently ​do not work via Wireless, sorry.
- +
-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 printer. In 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 +
  
 ---- ----
Line 276: Line 283:
 One must accept the license to download these drivers. One must accept the license to download these drivers.
  
-  ​* For **MS Windows**: [[http://h20566.www2.hp.com/​portal/site/hpsc/template.PAGE/public/psi/swdDetails/?​sp4ts.oid=5036601&spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3Didx%253D%257CswItem%253Dlj_98928_2%257CswEnvOID%253D4063%257CitemLocale%253D%257CswLang%253D%257Cmode%253D%257Caction%253DdriverDocument&​javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken|HP page]], click the "​Download"​ button. +If the links below are outdated, please refer to the main source on the HP website: [[http://​h20564.www2.hp.com/​hpsc/​swd/​public/​readIndex?​sp4ts.oid=5254096&​lang=en&​cc=us#​Z7_3054ICK0K8UDA0AQC11TA930S6|HP page]] 
-  * For **Mac OS X** [[http://h20566.www2.hp.com/​portal/​site/hpsc/template.PAGE/public/psi/​swdDetails/​?sp4ts.oid=5036601&spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3Didx%253D%257CswItem%253Dlj_126116_2%257CswEnvOID%253D4159%257CitemLocale%253D%257CswLang%253D8%257Cmode%253D%257Caction%253DdriverDocument&​javax.portlet.begCacheTok=com.vignette.cachetoken&​javax.portlet.endCacheTok=com.vignette.cachetoken|HP page]]+ 
 +  ​* For **MS Windows**: ​Choose the proper Windows version (7/8/10) and architecture (32bit/​64bit)) 
 +    *  I recommend the PCL6 driver for maximum control on the device 
 +      * [[http://h20564.www2.hp.com/​hpsc/swd/public/detail?​sp4ts.oid=5254096&​swItemId=ds_99374_16&​swEnvOid=4063|Win 7 64bit here]]  
 +      * [[http://h20564.www2.hp.com/hpsc/swd/​public/​detail?sp4ts.oid=5254096&swItemId=ds_99374_16&swEnvOid=4192|Win 10 64 bit here]] 
 +    * or the Universal PS driver if you need to print PS or DVI documents as well  
 +      * [[http://​h20564.www2.hp.com/​hpsc/​swd/​public/​detail?​sp4ts.oid=5254096&swItemId=ds_99376_16&​swEnvOid=4063|Win 7 64bit here]] 
 +      * [[http://​h20564.www2.hp.com/​hpsc/​swd/​public/​detail?​sp4ts.oid=5254096&​swItemId=ds_99376_16&​swEnvOid=4192|Win 10 64 bit here]] 
 +  * For **Mac OS X** [[http://h20564.www2.hp.com/​hpsc/​swd/public/detail?sp4ts.oid=5254096&swItemId=lj_98930_1&swEnvOid=219|Here]]
   * For **GNU/​Linux**:​ Drivers should be in the distribution repositories,​ but if not, follow the instructions here: [[http://​hplipopensource.com/​hplip-web/​gethplip.html|HPLIP driver]]   * For **GNU/​Linux**:​ Drivers should be in the distribution repositories,​ but if not, follow the instructions here: [[http://​hplipopensource.com/​hplip-web/​gethplip.html|HPLIP driver]]
  
it_services/pf/printing.txt · Last modified: 2023/08/02 08:00 by florido

Accessibility Statement