Differences between revisions 55 and 56
Revision 55 as of 2017-03-13 08:35:34
Size: 9062
Editor: jkoller
Comment:
Revision 56 as of 2018-09-26 07:07:15
Size: 6644
Editor: stroth
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
= Linux = = Linux printing =
Line 5: Line 5:
Printing on the Linux-based Workstations has changed a lot from Debian Wheezy to Debian Jessie. At the moment we support both of the printing systems available at the ETH. The old VPP printing system with mostly Xerox printers as well as the new PIA/Nashuatec printers connected via samba. In the future, the VPP system will go end of life and the old printers will be replaced with new Nashuatec printers. == General information ==
The Informatikdienste (ID) maintain [[https://printing.sp.ethz.ch|general information about the ETH-wide printing system]], also known as "PIA" (__P__rint service of __I__nformatikdienste for __A__ll).
Line 7: Line 8:
As we did a complete rework of the printing accessibility, there are some significant changes for the users. The main difference is that every client runs it's own CUPS (printserver) instead of connecting to the former central printserver (ipp2vpp.ee.ethz.ch). As a consequence of that, you can now print out of any application which supports CUPS printing. == 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". 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.EE
Line 9: Line 13:
Although you can't see any difference in the list of printers between the VPP and the PIA printers (except of the name: PIA printers start with "p-"), there are some substantial differences in the background which have to be concerned. More about that in the system-specific paragraphs below. == 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.
Line 11: Line 16:
== VPP ==
On one hand, there are is the old VPP printing system which already worked on Debian Wheezy machines. With the new system, it is possible to print on VPP printers using the printing dialogs of any applications which supports the CUPS printing now. For the reason of clarity we installed only the printers in the ET and the HIA area. If there is a need for more printers, please contact ISG.EE <support@ee.ethz.ch> with an explanation why it's needed. The website http://www.vppspy.ethz.ch/tools/vpplist.php provides a list of all currently available printers including printing logs for the last days.

== PIA ==
On the other hand, there is the new PIA printing system. General information about the system are available here: [[https://www1.ethz.ch/id/services/list/print_service/index]]. With the upgrade of our managed clients to Debian Jessie, all the PIA printers of the ET and HIA area are installed by default. They are listed at the end of the printer list with a "p-" prefix. Additionally the PIA system offers a PULL-queue named "card-ethz". Print-jobs that were sent to this queue can be printed at any PIA printer that provides a card reader. You will need your legi to release the print jobs.
As these PIA printers require an authentication every time a print-job is sent, we have implemented a password caching solution that uses the gnome keyring. The keyring (as long as your keyring has the same password as your NETHZ account) will be unlocked at login and allows you to print without any further authentication in your everyday life. This solution requires some initial steps to work properly. Please consult the following instructions to do so.

=== Initial steps to save the password for PIA printers ===

In theory, it's possible to save the password at any time a print-job is sent from any application. A password dialog appears and with the correct credentials, the password should be saved without a problem. If you do so, there is one problem: By saving the password with an application, the password will only be saved for the specific printer you sent the job to. If you want to save the password for all printers, there is a simple initial task flow to do so:

 1. Open a console.
 1. type `system-config-printer` to open the printing management.
 1. Open a console
 1. type `system-config-printer` to open "Print Settings"
Line 26: Line 20:
 {{attachment:system-config-printer_1.png}}  {{attachment:01_card-ethz.png}}
Line 29: Line 23:
 {{attachment:system-config-printer_2.png}}
 1. Enter your NETHZ credentials as described. The domain '''d\''' before the username and the tick in the check box are necessary. This dialog doesn't throw any errors if you enter the wrong credentials. It will simply pop up again.
 
 {{attachment:system-config-printer_3_1.png}}
 {{attachment:02_print-test-page.png}}
 1. Enter your NETHZ credentials as described. The domain '''d\''' before the username and the tick in the check box are necessary. In case of wrong credentials the dialog will simply reappear without informing about the fact.


 {{attachment:03_authentication_required.png}}
Line 36: Line 31:
=== Verifying the Keyring === == Verifying stored credentials ==
Line 40: Line 35:
 {{attachment:seahorse.png}}  {{attachment:04_verify_password.png}}
Line 46: Line 41:
=== How to set a default printer === == Set the default printer ==
Line 52: Line 47:
 {{attachment:system-config-printer_default_1.png}}  {{attachment:05_find-default-printer.png}}
Line 55: Line 50:
 {{attachment:system-config-printer_default_2.png}}  {{attachment:06_activate-for-default.png}}
Line 58: Line 53:
 {{attachment:system-config-printer_default_3.png}}  {{attachment:07_set-as-default.png}}
Line 61: Line 56:
 {{attachment:system-config-printer_default_4.png}}  {{attachment:08_set-default-printer.png}}
Line 64: Line 59:
 {{attachment:system-config-printer_default_5.png}}  {{attachment:09_have-default-set.png}}
Line 105: Line 100:


 <<AttachList>>

Linux printing

General information

The Informatikdienste (ID) maintain general information about the ETH-wide printing system, also known as "PIA" (Print service of Informatikdienste for All).

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". 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.EE

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
  2. type system-config-printer to open "Print Settings"

  3. Double-click on the printer card-ethz.

    01_card-ethz.png

  4. Press Print Test Page

    02_print-test-page.png

  5. Enter your NETHZ credentials as described. The domain d\ before the username and the tick in the check box are necessary. In case of wrong credentials the dialog will simply reappear without informing about the fact.

    03_authentication_required.png

  6. Press Print Test Page again. If the dialog didn't pop up again, you have successfully saved the password in the keyring.

  7. To be sure, you can verify the process with the instructions in the chapter Verifying the Keyring.

Verifying stored credentials

  1. At first, open a terminal and type seahorse. That's a tool to get an overview of your saved passwords. If there is an entry like on the screen shot, your password has been saved successfully.

    04_verify_password.png

  2. Next, open firefox and try to print on either the card-ethz PULL-queue or any of the pia printers ( p-et* ). The print-job should be sent without any further dialog popping up.
  3. To finish the verification, head to a PIA/Nashuatec printer in your area and hold your ETH card/legi on the marked area on the printer. The previously send test pages should now appear on the display. Pressing the Print All button will release the jobs.

If all these steps went well, your password has been saved successfully and your printing system is installed correctly. If any of these steps fails, try the Initial steps to save the password for PIA printers or contact ISG.EE Support at <support@ee.ethz.ch>.

Set the default printer

  1. Open a console.
  2. type system-config-printer to open the printing management.

  3. Double-click on the printer you want to set as the default printer.

    05_find-default-printer.png

  4. Next, you have to close the window that opened again. These two steps ( 3 + 4 ) are necessary, to unlock the "Set As Default" button used in the next steps.

    06_activate-for-default.png

  5. Right-click on the printer you want to set as the default printer and press the button "Set As Default".

    07_set-as-default.png

  6. Check "Set as my personal printer" and confirm your selection by pressing "Ok".

    08_set-default-printer.png

  7. At last, the printer you selected as default printer is now marked with a heart.

    09_have-default-set.png

Troubleshooting

Problem: I've printed something, but it didn't come out of the printer.

Solution I: First, you can 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.vppspy.ethz.ch (VPP) or https://www.print.ethz.ch (PIA) for errors regarding your print-job. If you can't find any problem, please contact ISG.EE Support <support@ee.ethz.ch>.

Solution II: There is another option, why the printing system isn't working properly. If the first printer in your print dialog isn't "card-ethz", you might have set an environment variable called "CUPS_SERVER" on the value "ipp2vpp.ee.ethz.ch". Please check your .bashrc / .profile and delete the corresponding line.

Problem: After sending the print job, the printer flashes a red LED and says: Paper size and type missmatched

Solution: The Paper type "Recycled" isn't recognized correctly. Use the type "Plain/Recycled".

Problem: I've changed my NETHZ password. How can I change the password in the keyring?

Solution: 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 following the "Initial steps to save the password for PIA printers" again.

Problem: I've started `system-config-printer` but no printers are available.

Solution: This probably means the cups service has crashed and can't recover itself. Restart your computer or contact ISG.EE support <support@ee.ethz.ch>

Problem: The tick in the check box of the password saving dialog disappears every time i press it. (probably XFCE)

Solution: This is only a visual error. Press the check box once, and it will save the password.

Problem: Printouts out of the firefox PDF preview look messed up

Solution: The firefox PDF preview is not compatible with our system. Please download the pdf and print it using a PDF viewer. (e.g evince)

Problem: The Application (e.g Firefox) crashes when I try to save the password in the keyring.

Solution: Please follow the Initial steps to save the password for PIA printers.

Problem: 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!

Solution: 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.

Problem: Print jobs take very long to process/ print out.

Solution: If you are using the embedded Firefox pdfviewer, please download the file and open it with the native document viewer. (evince)

    • [get | view] (2019-08-13 02:58:07, 37.7 KB) [[attachment:01_card-ethz.png]]
    • [get | view] (2018-09-26 08:20:51, 59.8 KB) [[attachment:02_print-test-page.png]]
    • [get | view] (2018-09-26 08:21:47, 31.7 KB) [[attachment:03_authentication_required.png]]
    • [get | view] (2018-09-26 07:08:29, 32.8 KB) [[attachment:04_verify_password.png]]
    • [get | view] (2018-09-26 08:21:10, 24.7 KB) [[attachment:05_find-default-printer.png]]
    • [get | view] (2018-09-26 09:16:23, 62.9 KB) [[attachment:06_activate-for-default.png]]
    • [get | view] (2019-08-13 02:58:07, 38.5 KB) [[attachment:07_set-as-default.png]]
    • [get | view] (2018-09-26 08:22:07, 50.2 KB) [[attachment:08_set-default-printer.png]]
    • [get | view] (2018-09-26 07:10:22, 25.1 KB) [[attachment:09_have-default-set.png]]
     All files | Selected Files: delete move to page copy to page

Printing/NashuatecLinux (last edited 2023-12-20 12:34:07 by pmeier)