Linux (Ubuntu) Printing (This page has been Migrated to Confluence)

See: https://uwaterloo.atlassian.net/wiki/x/2YCCTQo

There Are Actually Two SCS Print Servers

In order to prevent confusion, the first thing to know is that CSCF maintains two different print servers for SCS.

  • printers.cs.uwaterloo.ca is a Microsoft Windows print server.
  • print.cs.uwaterloo.ca is an Ubuntu based CUPS server.

Both servers are mentioned in this document for different purposes. Both servers provide a slightly varying list of print queues.

Laptop wireless access to printers

Add all printers in CS

The following method will add all the printers in CS to your print GUI. Make sure you know which printer is closest to you. (List of printers with room# here: http://print.cs.uwaterloo.ca:631/printers/)

  • Step 1: Edit vi /etc/cups/cups-browsed.conf and add these lines:

Browsing On
BrowsePoll print.cs.uwaterloo.ca
BrowseInterval 3600
BrowseTimeout 7200

  • Step 2: service cups-browsed restart

This should load up all the printers in CS in your GUI.

Print via the SCS Print Server - printers.cs.uwaterloo.ca

NOTE: The procedure below is dependent upon your local system to be able to browse print queues on a SAMBA or other SMB print server. Which is why you NEED TO INSTALL python3-smbc package if it is not installed on your local Ubuntu device which may be the case for some systems.
NOTE: Unlike for Windows clients, printers.cs.uwaterloo.ca does not provide drivers for Linux (Ubuntu) systems. You will have to specify printer the make and model during the install process below. For most SCS queue names, the make and model information may be found at this link: http://print.cs.uwaterloo.ca:631/printers/

This is perhaps the most straight forward means to setup an SCS print queue on a local Ubuntu device. Especially for a laptop computer on wireless. Also, not all SCS printers may be accessed through direct connection or via CUPS and must be reached through a CSCF managed server with access controls. You will require CS-GENERAL domain credentials to access its queues.

  1. On your Ubuntu desktop, open the Settings application.
  2. Select Devices -> Printers.
  3. Click on the Additional Printer Settings... button.

    additionalsettings.png

  4. Click on the Add button in the pop-up.
  5. For Device, select Network Printer -> Windows Printer via SAMBA.
  6. In the SMB Printer field, enter printers.cs.uwaterloo.ca/
    • NOTE: The forward slash ' / ' is very important for the Browse button to work. Make sure to have the / character there

      smb_server.png

  7. Click on the Browse... button.
    • If you are on a laptop/wireless computer or any non CS-GENERAL domain device, you will be prompted for your credentials by the Authentication service.
    • You will have to provide your CS-GENERAL domain credentials.
      • The Domain field should be entered as CS-GENERAL, either in upper or lowercase.

        Screenshot_from_2020-02-20_16-16-21.png
  8. Select the printer queue name you wish to install. (For example, lj_csgrad for the CS Grad Mailroom printer).
  9. Select whether you want to be prompted for your CS-GENERAL credential each time you print with the new queue (default) or whether you wish to set your credentials to the queue.
    • NOTE: When setting your credentials with the queue, the password field comes before the username field. Counterintuitive
    • NOTE: When setting your credentials with the queue, the username field should be CS-GENERAL\<username>

      smb-server2.png

  10. Click on the Forward button.
  11. Select a printer manufacture - Make. (NOTE: if you are unsure of this step, go and look at the printer's make and model HERE: http://print.cs.uwaterloo.ca:631/printers/ )
    • For most SCS printers, this is either HP or Xerox. (The grad mailroom printer is an HP Laserjet M605, so the driver you'll be looking for is 'HP Laserjet M604 M605 M606' )
  12. Click on the Forward button.
  13. Select a printer Model
  14. Click on the Forward button.
  15. Edit (if desired) the printer description fields.
  16. Click on the Apply button.

After the setup, you may be prompted to print a test page. This is optional.

End User Links

  • DirectPrintingOnLinux - direct to printer printing under Linux - recommend for those having issues with any CUPS printers
  • CupsOnLinux - Configuring Printing
    • The really easy way to get all of the CS printers setup on your Linux system.
      • Warning - although easy to setup you will not be able to cancel jobs out get detailed notifications when errors occure
    • Notes: If your machine has been provided by CS these steps will have been done for you already.
      • However if not setup by CS; it will also show you how to add all of the CS printers (just 5 lines added to the cups config file!)
  • HowDoIPrint

Administrative Links

-- LawrenceFolland - 28 April 2009 (DRH)

How to Print to PDF in UBUNTU LINUX

  1. Key element is to setup the output directory in /etc/cups/cups-pdf.conf
  2. for explicit details see url: http://www.ubuntugeek.com/how-to-create-pdf-documents-in-ubuntu.html
Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng Screenshot_from_2020-02-20_16-16-21.png r1 manage 18.5 K 2020-02-21 - 14:36 HarshRoghelia  
PNGpng add_button.png r1 manage 26.8 K 2020-02-21 - 14:36 HarshRoghelia  
PNGpng additionalsettings.png r1 manage 63.6 K 2020-02-21 - 14:36 HarshRoghelia  
PNGpng smb-server2.png r1 manage 62.2 K 2020-02-21 - 14:36 HarshRoghelia  
PNGpng smb_server.png r1 manage 64.7 K 2020-02-21 - 14:38 HarshRoghelia  
Edit | Attach | Watch | Print version | History: r18 < r17 < r16 < r15 < r14 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r18 - 2024-10-18 - MariHassanzada
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback