#rev 2020-09-11 stroth #rev 2018-10-30 stroth <> = Linux printing = == General information == * The printing system at ETH is known as "PIA", __P__rint service of __I__nformatikdienste for __A__ll * [[https://printing.sp.ethz.ch|General information about PIA]] provided by Informatikdienste (ID) * [[https://print.ethz.ch/|Overview of personal print jobs and costs]] == Available print servers == There are different print servers providing print queues for different geographical locations: * [[https://pia01.d.ethz.ch/printers/ipp_0001.asp?startid=1&endid=9999|pia01.ethz.ch]] for ETH center buildings * [[https://pia02.d.ethz.ch/printers/ipp_0001.asp?startid=1&endid=9999|pia02.ethz.ch]] for ETH Hönggerberg Stored credentials (see below) will contain the name of the print server. == Available printers == * Printers are named and labelled following the scheme "p-building-floor-room", as for example "p-etf-d-104" * The pull printing queue is named "card-ethz" (Nashuatec printers) or "card-hp" for the newer HP printers. It allows releasing a print job on any printer fitted with a card reader by holding a ETH card to the sensor labelled "ETH CARD". * Printers in buildings ETF, ETL, ETZ and HIA are available from Linux clients managed by ISG D-ITET <>, == Storing credentials for authenticated printing == In order to track usage and manage costs every print job needs to be submitted with personal ETH network credentials. The following process describes storing your credentials for automatic submission with every print job. 1. Open a console 1. Enter `system-config-printer` to open "Print Settings" 1. Double-click the printer '''card-ethz''' or '''card-hp'''<
> {{attachment:01_card-ethz.png}} 1. In the appearing window "Printer Properties" press the button '''Print Test Page'''<
>{{attachment:02_print-test-page.png}} 1. Enter your username including the domain '''d\''' 1. Tick the check box labelled '''Remember password''' to store your credentials 1. Confirm the dialog by pressing the button '''OK'''<
>In case of wrong credentials the dialog will simply reappear without warning about the fact<
>{{attachment:03_authentication_required.png}} 1. Press '''Print Test Page''' again, now the dialog asking for credentials should not reappear == Verifying stored credentials == 1. Open a console 1. Enter `seahorse` to open "Passwords and Keys" 1. Verify any entry similar to the one below in your keyring named "Login"<
>{{attachment:04_verify_password.png}} == Setting the default printer == 1. Open a console 1. Enter `system-config-printer` to open "Print Settings" 1. Find the desired printer by entering parts of its name into the '''Filter''' field 1. Double-click the printer you want to set as the default printer<
>{{attachment:05_find-default-printer.png}} 1. Close the appearing "Printer Properties" window by pressing the button '''Cancel'''<
>{{attachment:06_activate-for-default.png}}<
>Now the "Set As Default" menu entry used below will be available 1. Right-click the printer you want to set as the default printer 1. Select the menu entry '''Set As Default'''<
>{{attachment:07_set-as-default.png}} 1. Check '''Set as my personal printer''' and confirm by pressing '''Ok'''<
>{{attachment:08_set-default-printer.png}} 1. The default printer is now marked with a heart<
>{{attachment:09_have-default-set.png}} == Troubleshooting == === I've printed something, but it didn't come out of the printer. === Check your local printer queue. Start `system-config-printer` in your console and right-click -> ''View Print Queue'' on the printer/queue you've selected previously. If your job's hanging here, try right-click -> ''Release''. If the desired jobs isn't listed in the queue, check [[https://www.print.ethz.ch|Papercut]] for errors regarding your print-job. If you can't find any problem, please contact <>. === After sending the print job, the printer flashes a red LED and says: Paper size and type mismatched === The Paper type "Recycled" isn't recognized correctly. Use the type "Plain/Recycled". === I've changed my NETHZ password. How can I change the password in the keyring? === After a change of your NETHZ password, you have to re-enter your password on your next print-out. The safest way to do so is to follow [[#authenticated-printing|Storing credentials for authenticated printing]] again. === I've started `system-config-printer` but no printers are available. === This probably means the cups service has crashed and can't recover itself. Restart your computer or contact <>. === Printouts out of the firefox PDF preview look different from what I see on the screen === The firefox PDF preview is not compatible with our system. Please download the pdf and print it using a PDF viewer. (e.g evince) === The Application (e.g Firefox) crashes when I try to save the password in the keyring. === Please follow [[#authenticated-printing|Storing credentials for authenticated printing]] . === After I filled in the authentication popup, there appears another popup that makes the whole display darker and asks about a password for the Gnome Keyring. My NETHZ password doesn’t work! === Open a console and type the command “seahorse”. A Gnome Keyring management tool appears. Delete the “Login “ keyring in the top left corner and log out of your current session. After another login, the authentication process should work. === Print jobs take very long to process/ print out when printing from Firefox === Please download the file and open it with the native document viewer (evince). === A PDF printed from Google Chrome didn't come out of the printer. === Save the pdf, open it with the native document viewer and print it. === OFFENDING COMMAND: setpagedevice === This error often occurs when the document page size doesn't match the printer's paper size. Try to scale the document to a paper size available in the printer and try again.