Installing Linux Printers using the Command Line

Note - this is specific to the HP Color LaserJet M651 printers in the Department of Biostatistics.

Click here for information on installing these printers on Macintosh computers.

The process consists of 3 steps for each printer to be installed.
  1. set default path to be the location where the printer definition files are stored
  2. copy the appropriate printer definition file from this wiki to the storage location
  3. use the lpadmin command to create the printer

For a particular printer, you can skip steps 1 and 2 if you have already installed another printer of the same type.

Get the printer definition file (steps 1 & 2)

cd /usr/share/cups/drv
sudo wget http://biostat.mc.vanderbilt.edu/wiki/pub/Main/UbuntuSetup/hp-color_laserjet_m651-ps.ppd

biostatcolor2 - HP Color LaserJet M651 (general purpose printer)

sudo lpadmin -p biostatcolor2 -L "biostatistics" -D "HP Color LaserJet M651" -P /usr/share/cups/drv/hp-color_laserjet_m651-ps.ppd -v socket://biostatcolor2.dhcp.mc.vanderbilt.edu:9100/ -E

biostatcolor3 - HP Color LaserJet M651 (general purpose printer)

sudo lpadmin -p biostatcolor3 -L "biostatistics" -D "HP Color LaserJet M651" -P /usr/share/cups/drv/hp-color_laserjet_m651-ps.ppd -v socket://biostatcolor3.dhcp.mc.vanderbilt.edu:9100/ -E
Edit | Attach | Print version | History: r6 | r4 < r3 < r2 < r1 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r1 - 05 Oct 2015, DalePlummer
 

This site is powered by FoswikiCopyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki? Send feedback