Printer Setup for UNIX/Linux


On Department-Managed Computers

Department-managed computers running UNIX/Linux should already have all of the department printers pre-configured for immediate use.

In any UNIX/Linux CLI shell prompt:

  • Type "lpr -P<printer> myfile.txt" (substitute the name of the department printer for <printer> as in "lpr -Pp2331 myfile.txt", etc.)

In any UNIX/Linux GUI application:

  • Go to the "File" menu and select the "Print..." option.
  • In the "Printer:" popup menu on top, select the department printer you want to print to.

On Self-Managed Computers

To configure your own computer to print to a department printer, follow the below instructions:


Quick Printer Setup

  • Protocol: LPD/LPR
  • Print Server: math-print.ucsd.edu
  • Queue: p2331 (or color2331, etc.)
  • Driver/PPD: HP LaserJet 4350 (or HP Color LaserJet 3800, etc.)
  • Installable Options: Duplex ON, Tray 3 500-Sheet, >=352MB Memory

Detailed Printer Setup

For CUPS CLI

  • Login as "root" or a user account with sudo administrator privileges
  • Open a new CLI shell prompt by launching Terminal.app, xterm, or a similar program.
  • For the black-&-white printers, copy-and-paste or type in the following as a single line:
    lpadmin -p p2331 -v "lpd://math-print.ucsd.edu/p2331" -P "/usr/share/ppd/HP/hp-laserjet_4350-ps.ppd.gz" -o printer-is-shared=false -o HPOption_Tray3=Tray3_500 -o HP Option_Duplexer=True -o InstalledMemory=Mem352_383 -E
  • For the color printers, copy-and-paste or type in the following as a single line:
    lpadmin -p color2331 -v "lpd://math-print.ucsd.edu/color2331" -P "/usr/share/ppd/HP/hp-color_laserjet_3800-ps.ppd.gz" -o printer-is-shared=false -o HPCollateSupported=True -o HPOption_500_Sheet_Feeder_Tray3=True -o HPOption_Duplexer=True -E
  • Type "lpq -Pp2331". It should return back that "p2331 is ready".
  • That's it! Now go print something useful. Try "lpr -Pp2331 myfile.txt".

For CentOS Linux GUI

  • Login as "root" or a user account with sudo administrator privileges
  • Coming soon...

For Ubuntu Linux GUI

  • Login as "root" or a user account with sudo administrator privileges
  • Coming soon...