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
it_services:pf:printing [2023/05/22 10:13]
florido [Workstations and Clusters]
it_services:pf:printing [2023/08/02 08:00] (current)
florido [MacOS X]
Line 1: Line 1:
 ====== Printing ====== ====== Printing ======
  
-:!: this page is WORK IN PROGESS. Sorry for the inconvenience. :!:+:!: this page is WORK IN PROGRESS. Sorry for the inconvenience. Some items may change after we move, and possibly the whole page will be moved. :!:
  
 Printing is provided via a cups print server at cups.hep.lu.se . For the moment it is possible to connect machines directly to the printer, provided they belong to known networks (the cabled network or eduroam) but in the future this may not be possible. The reasons are due to national rules of accessing public IT services and are described in this security article: https://​www.it.lu.se/​it-sakerhet/​it-sakerhetsartiklar/​sakerhetskonfiguration/​ Printing is provided via a cups print server at cups.hep.lu.se . For the moment it is possible to connect machines directly to the printer, provided they belong to known networks (the cabled network or eduroam) but in the future this may not be possible. The reasons are due to national rules of accessing public IT services and are described in this security article: https://​www.it.lu.se/​it-sakerhet/​it-sakerhetsartiklar/​sakerhetskonfiguration/​
Line 27: Line 27:
  
 Nowadays most of printing from workstations can be done via graphical tools. Nowadays most of printing from workstations can be done via graphical tools.
-The KDE and Gnome environments provide ​their own intuitive tools, so these will not be described here.+Most operating systems have their own intuitive tools, so these will not be described here.
  
 ==== Using the command line (Linux or Apple) ==== ==== Using the command line (Linux or Apple) ====
Line 129: Line 129:
 ==== To check the print server status ==== ==== To check the print server status ====
  
-On the Linux system the printing is handled by a central print-spooler. The spooler queues, format (if necessary) and send the file to the printer. The spooler is in our case called cups. +On the Linux system the printing is handled by a central print-spooler. The spooler queues, format (if necessary) and send the file to the printer. The spooler is in our case called ​''​cups''​
-In the normal case the file you want to print should be a postscript-file.+In the normal case the file you want to print should be a postscript-file ​or a pdf.
  
 It is possible to print files that are not in postscript. One typical format is "​text",​ but even a lot of other formats is possible. The spooler takes care of the file, and try to do its best to convert it to postscript before it is sent to the printer. However, in most cases, I recommend that you convert the files to postscript yourself. It is possible to print files that are not in postscript. One typical format is "​text",​ but even a lot of other formats is possible. The spooler takes care of the file, and try to do its best to convert it to postscript before it is sent to the printer. However, in most cases, I recommend that you convert the files to postscript yourself.
Line 136: Line 136:
 The print server status can only be seen when connected via **cable** or **eduroam**. The print server status can only be seen when connected via **cable** or **eduroam**.
  
-Click this link: https://​cups.hep.lu.se:​631/​ and login with your teddi credentials+Click this link: https://​cups.hep.lu.se:​631/​ and login with your teddi credentials ​if asked.
  
 ---- ----
Line 157: Line 157:
 ==== Windows ==== ==== Windows ====
  
-  - Go to Printers and Faxes and add a new printer+  - Go to **Printers and Faxes** and choose **Add a new printer**. Select **The printer isn't listed** as soon as it is visible.
   - When asked for a new printer, select network printer (TCP/IP)   - When asked for a new printer, select network printer (TCP/IP)
-  - Add the printer this way: <​code>​https://​cups.hep.lu.se:​631/​printers/​printername</​code>​ e.g. <​code>​https://​cups.hep.lu.se:​631/​printers/​lw1+  - Add the printer ​using this URL: <​code>​https://​cups.hep.lu.se:​631/​printers/​printername</​code>​ e.g. <​code>​https://​cups.hep.lu.se:​631/​printers/​lw1
 https://​cups.hep.lu.se:​631/​printers/​copy</​code>​ https://​cups.hep.lu.se:​631/​printers/​copy</​code>​
     * You will be asked for drivers. If you're lucky, they'​re on Windows Update, if you're not, find them yourself by looking at the vendor'​s website. I have some downloaded already and I provide them here: [[#​Drivers]]     * You will be asked for drivers. If you're lucky, they'​re on Windows Update, if you're not, find them yourself by looking at the vendor'​s website. I have some downloaded already and I provide them here: [[#​Drivers]]
     * When the drivers have been installed, you should be able to use the printer.     * When the drivers have been installed, you should be able to use the printer.
   - Print a test page. If connected via wireless you will be asked for username and password.   - Print a test page. If connected via wireless you will be asked for username and password.
 +  - Repeat these steps for each printer you want to add.
  
 ==== MacOS X ==== ==== MacOS X ====
  
-:​!::​!::​!::​!:​ +Drivers needs to be installed (to download ​them see [[#​Drivers]]) by copying them in the ''/​Library/​Printers/​PPDs/​Contents/​Resources/''​ folder. More info about this may come.
-this documentation only works for direct installation. For the cups server is a bit more complicated.  +
-Apple does not provide drivers for any of the printers. They need to be downloaded aside. I provided ​them here: [[#​Drivers]] +
-:​!::​!::​!::​!:​+
  
-[thanks to Alice O.] +Once drivers ​are installed:
-  - Go to **System Preferences** > **Printers & Scanners**. +
-  - Click the **+** sign to add a printer. +
-  - Go to the **IP** tab. +
-  - This should 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"​.+
  
 +  - Go to **System preferences** -> **Printers and Scanners** -> add the //advanced printer configuration//​ tab this way:
 +    - ''​ctrl''​ + click on free space under ''​add printer''​ to customize toolbar
 +    - Add **advanced** by drag & dropping it to the bar with other print configuration option
 +  - Click on the ''​advanced''​ button just added
 +  - To add each printer, fill the URL with the following strings:
 +    * lw1: <​code>​ipps://​cups.hep.lu.se:​631/​printers/​lw1?​compression=gzip</​code>​
 +    * copy: <​code>​ipps://​cups.hep.lu.se:​631/​printers/​copy</​code>​
 +  - Add printer name (please use either lw1 or copy) and description (description is optional)
 +  - select drivers:
 +    * for //lw1//: HP PCL 4/5 if no driver installed, otherwise pick ''​HP m600/​601/​602''​ (TODO:​CHECK)
 +    * for //copy//: Pick ''​Canon iR-ADV C275'' ​ (TODO:​CHECK)
 +      * select options: "​feeding unit AK1"
 +  - Repeat the process for each printer
 +
 +=== Known Issues ===
 +
 +----
 +
 +> **Q:** I cannot print via wireless. The printer dialog is stuck with the message "Hold for Authentication"​
 +
 +**A:** Wireless printing requires login due to general security and enforced national rules. It is now possible to print via wifi by using your Particle Physics account also known as "​teddi"​ account (see https://​www.hep.lu.se/​staff/​paganelli/​doku.php/​it_services:​pf#​accounts)
 +
 +In order to insert your login credentials,​ you need to click on the small round arrow next to the print dialog as in the picture below:
 +{{ :​it_services:​pf:​holdforauth.png?​600 |}}
 +Then you will be prompted for your username and password.
 +
 +----
 ===== Drivers ===== ===== Drivers =====
  
Line 187: Line 205:
 ''/​nfs/​windows/​drivers/​printers''​ ''/​nfs/​windows/​drivers/​printers''​
  
 +Otherwise search for the printer name on respective vendor websites.
 +
 +lw1: HP Laserjet 600 M602 - https://​support.hp.com/​se-sv/​drivers/​selfservice/​hp-laserjet-enterprise-600-printer-m602-series/​5145285/​model/​5036604
 +  * For Linux these drivers are available in the **hplip** package on common distros, no need to download.
 +
 +copy: Canon imageRUNNER ADVANCE DX C257i - https://​www.canon.se/​support/​business/​products/​office-printers/​imagerunner/​advance-dx/​imagerunner-advance-dx-c257i.html?​type=drivers&​os=all
it_services/pf/printing.1684750420.txt.gz · Last modified: 2023/05/22 10:13 by florido

Accessibility Statement