Printing from Linux (cluster or personal)-Computing Services - Carnegie Mellon University

Printing from Linux (cluster or personal computer)

Printing to a public printer from a Linux cluster machine or from your personal Linux machine

These steps have been tested on a machine using Ubuntu 8.04 with GNOME.  Ubuntu is a community developed, Linux-based operating system.  GNOME is a desktop for your GNU/Linux or UNIX computer.

  1. Select System > Administration > Printing
  2. Select New Printer.  It may take some time to search.
  3. Go to LPD/LPR Host or Printer.
  4. Enter the following: 
    • Host:
      Where UserID is your Andrew UserID (e.g.,
    • Queue: andrew, andrew-color, hunt-color, mellon-color, or library-color
  5. Select forward.  It will search for drivers and not succeed.
  6. Select "HP Laserjet 4100 PostScript" as the driver.
  7. Name the printer "Andrew Central B&W".
  8. Check the box that enables duplexing.

Note: See the Andrew Printing FAQ page for additional information. 

Guide to using Andrew Printing on your personal Linux machine using CUPS

  1. Go to http://localhost:631 in a browser on your personal machine.
  2. Click Administration at the top.
  3. Click Add Printer under the Printers heading.
  4. You will be prompted for a username and password. Enter the your local machine login and your root password.
  5. Under Other Network Printers, select LPD/LPR Host or Printer and click Continue.
  6. In Connection, enter lpd://, where YourAndrewID is your Andrew UserID, and ChosenQueue is one of "andrew", "andrew-color", "hunt-color", "mellon-color", or "library-color". This will determine which printer queue your printing jobs are sent to; choose andrew for the default black and white queue. Click Continue.
  7. Chose a name, such as "AndrewCentralB&W", and click Continue. You do not need to fill in any of the other fields.
  8. Select HP as the Make and click Continue.
  9. Select HP LaserJet 4100 Foomatic/Postscript (en) as the Model and click Add Printer.
  10. Set Media Size to US Letter, Resolution to 300dpi, Media Source to Printer Default, and 2-Sided Printing to Long-Edge. Click Set Default Options.
  11. You will get redirected to the main configuration screen for your new device. Below the new device name, click on the Administration drop down menu and select Set As Server Default.

Repeat steps 1 through 10 to add additional print queues "andrew-color", "hunt-color", "mellon-color", or "library-color".

NoteVPN is required to queue a print job using LPD from off-campus.

next Release Your Print Job

Last Updated: 6/10/16