Printing: Difference between revisions

From CSCWiki
Jump to navigation Jump to search
(→‎MathSoc Printer (new): deprecated page)
Line 4: Line 4:


== MathSoc Printer (new) ==
== MathSoc Printer (new) ==
As of 2018, this section is old and needs to be updated. The Mathsoc printer isn't an HP LaserJet anymore. If you can update this article, that would be appreciated!


The new MathSoc Printer is an HP LaserJet Pro MFP M476dn, and requires the HPLIP v3.14.4 drivers. This model is not supported by the default version of HPLIP in Ubuntu 14.04 (3.14.3); therefore, you will need to run the installation scripts.
The new MathSoc Printer is an HP LaserJet Pro MFP M476dn, and requires the HPLIP v3.14.4 drivers. This model is not supported by the default version of HPLIP in Ubuntu 14.04 (3.14.3); therefore, you will need to run the installation scripts.

Revision as of 16:37, 17 February 2018

Setting up printers

We usually support the MathSoc and MFCF printers on our office terminals.

MathSoc Printer (new)

As of 2018, this section is old and needs to be updated. The Mathsoc printer isn't an HP LaserJet anymore. If you can update this article, that would be appreciated!

The new MathSoc Printer is an HP LaserJet Pro MFP M476dn, and requires the HPLIP v3.14.4 drivers. This model is not supported by the default version of HPLIP in Ubuntu 14.04 (3.14.3); therefore, you will need to run the installation scripts.

  1. Go to the HP Linux Imaging and Printing site and download hplip, version >= 3.14.4.
  2. Follow the installation walkthrough; make sure you put the run script in /tmp to avoid NFS permissions problems. Then execute
    sh hplip-x.xx.x.run
    • All the default options are fine. You can select the automatic setup process.
      • This is not true for maltodextrin, which had some issues with the scanner group during the setup process. We don't actually need scanner support, so I fixed this by selecting a subset of features (that excluded scanning) in the "custom" install.
    • This will take a while and install all your dependencies; you need to supply it your sudo password.
    • When prompted about USB-conncted printers, you can select "i=ignore".
  3. Now you should be able to add the printer through the Ubuntu GUI:
    gksudo /usr/share/system-config-printer/system-config-printer.py
    Follow the wizard step-by-step:
    1. URI:
      ipp://lp-mc3038.mathsoc.uwaterloo.ca/ipp
    2. Choose "Select Printer from Database", and select details:
      • Brand: HP
      • Make: Color LaserJet Pro MFP m476dn
    3. Fill in printer info:
      • Name: MathSoc
      • Description: The colour printer in MathSoc. Printing is 10 cents per double-sided black and white sheet, and 35 cents per colour side.
      • Location: MC 3038
    4. Set default options: make sure that Job Options > print-color-mode: is set to monochrome and Printer Options > Two-sided: is set to Long-Edge Binding.

ljp_3016 printer

  1. Printer Connection:
    ipp://print.cs.uwaterloo.ca/printers/ljp_3016
  2. Name: ljp_3016
  3. Description: Main Math Printers
  4. Location: MC 3016
  5. Brand: HP
  6. Make: LaserJet 4250 Foomatic/Postscript
  7. Default options: make sure that two-sided printing is set to long-edge

NOTE: If the brand/make is not available for selection, don't download any third-party drivers. These drivers are available in apt. Find them there.

Print quota is done via IST's XAS system, which can be accessed here: [1] or [2]

Setting up CUPS, the printing subsystem

  1. Install cups.
  2. Go to http://localhost:631/. Go to 'Add Printer'. You may need to supply the root username/password.
  3. Click 'Internet Printing Protocol (ipp)'. CSC doesn't have any local printers, chances are all printers are connected via LAN. If it is LAN, then it is ipp.
  4. Enter connection, name, and description of the printer.

If there is a machine with printing already properly set up, you may copy the file /etc/cups/printers.conf to the corresponding location on machines that aren't set up. Ensure that you stop CUPS (sudo service cups stop) on the fresh machine before copying over printers.conf (and don't forget to start it again afterward).