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 09:55]
florido
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 articlehttps://​www.it.lu.se/​it-sakerhet/​it-sakerhetsartiklar/​sakerhetskonfiguration/​
  
 Detailed instructions on how to connect your machine directly to the printer will not be given here but they are available upon request in case the connection between your machine and the print server does not work as it should. Detailed instructions on how to connect your machine directly to the printer will not be given here but they are available upon request in case the connection between your machine and the print server does not work as it should.
Line 24: Line 24:
 ===== How to print ===== ===== How to print =====
  
-==== Workstations and Clusters ==== +==== Using a graphical interface ​====
- +
-=== Using a graphical interface ===+
  
 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 ===+
  
-On clusters and servers this might not be straightforward. Therefore ​the following ​command line instructions apply.+==== Using the command line (Linux or Apple) ====
  
 == List available printers === == List available printers ===
Line 133: 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 140: 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.
  
 ---- ----
 ===== Installation ===== ===== Installation =====
- 
-==== GNU/Linux ==== 
  
 Get to the print room where the printer is located and note the printer Model Name and hostnames. You will need those later. Get to the print room where the printer is located and note the printer Model Name and hostnames. You will need those later.
  
-use your printer system configurator to add the printer. It may vary depending on distributions.+==== GNU/Linux ====
  
-1. When asked for the printer, choose ​to add a **network printer** and type in the URL:+Use your printer ​system configurator ​to add the printer. It may vary depending on distributions.
  
-  ipps://​cups.hep.lu.se:​631/​printers/<​printername>​ +  ​- When asked for the printer, choose to add a **network printer** and type in the URL:<​code>​ipps://​cups.hep.lu.se:​631/​printers/<​printername></​code>​e.g.<​code>​ipps://​cups.hep.lu.se:​631/​printers/​lw1 
-   +ipps://​cups.hep.lu.se:​631/​printers/​copy</​code>  
-e.g.+  ​- Repeat step 1 for each printer you want to add. 
 +    * //lw1// should not require drivers, as they are provided by the standard CUPS server library on every Linux. 
 +    * For //​copy// ​ you will need to install the drivers. See [[#​Drivers]] 
 +  - Test with ''​lpstat -a'',​ you should see the list of configured printers. 
 +  - Print a test page. If connected via wireless you will be asked for username and password.
  
-  ipp://​cups.hep.lu.se:​631/​printers/​lw1 +==== Windows ====
-  ipp://​cups.hep.lu.se:​631/​printers/​copy +
-  +
-2. Repeat step 1 for each printer you want to add.+
  
-//​lw1// ​should not require ​drivers, ​as they are provided ​by the standard CUPS server library on every Linux.+  - 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) 
 +  - 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>​ 
 +    * 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. 
 +  - 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.
  
-For //​copy// ​ you will need to install the drivers. I provide a working version here: TODO+==== MacOS X ====
  
-3. Test with ''​lpstat -a''​, you should see the list of configured printers.+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.
  
-4. Print a test page. If connected via wireless you will be asked for username and password.+Once drivers are installed:
  
-==== Windows ====+  - 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
  
-1. Go to Printers and Faxes and add a new printer+=== Known Issues ===
  
-2. When asked for a new printer, select network printer (TCP/IP)+----
  
-3. Add the printer this way: <code>https://cups.hep.lu.se:​631/​printers/​printername</​code>​ e.g. <​code>​http://​cups.hep.lu.se:​631/​printers/​lw1 +**Q:** I cannot print via wirelessThe printer dialog is stuck with the message "​Hold ​for Authentication"​
-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: TODO +
-  - When the drivers have been installed, you should be able to use the printer.+
  
-4Print a test page. If connected ​via wireless you will be asked for username and password.+**A:** Wireless printing requires login due to general security and enforced national rulesIt 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)
  
-==== MacOS X ====+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.
  
-:​!::​!::​!::​!:​ +---- 
-this documentation only works for direct installation. For the cups server is a bit more complicated.  +===== Drivers =====
-Apple does not provide drivers for any of the printers. They need to be downloaded aside. I provided them here: TODO +
-:​!::​!::​!::​!:​+
  
-[thanks to Alice O.] +They can be found on teddi or the shared storage at this path:
-  - 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"​.+
  
-=== Drivers ===+''/​nfs/​windows/​drivers/​printers''​
  
-They can be found on the shared storage at this path:+Otherwise search for the printer name on respective vendor websites.
  
-TODO+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.1684749346.txt.gz · Last modified: 2023/05/22 09:55 by florido

Accessibility Statement