Installing Macintosh 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 Linux 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.

biostatcolor2 - HP Color LaserJet M651 (general purpose printer)

cd /Library/Printers/PPDs/Contents/Resources/

sudo curl -O http://biostat.mc.vanderbilt.edu/wiki/pub/Main/MacPrintersCommandLine/HP_Color_LaserJet_M651.gz

sudo lpadmin -p biostatcolor2 -L "biostatistics" -D "biostatcolor2 HP Color LaserJet M651" -P /Library/Printers/PPDs/Contents/Resources/HP_Color_LaserJet_M651.gz -v socket://biostatcolor2.dhcp.mc.vanderbilt.edu:9100/ -E

biostatcolor3 - HP Color LaserJet M651 (general purpose printer)

cd /Library/Printers/PPDs/Contents/Resources/

sudo curl -O http://biostat.mc.vanderbilt.edu/wiki/pub/Main/MacPrintersCommandLine/HP_Color_LaserJet_M651.gz

sudo lpadmin -p biostatcolor3 -L "biostatistics" -D "biostatcolor3 HP Color LaserJet M651" -P /Library/Printers/PPDs/Contents/Resources/HP_Color_LaserJet_M651.gz -v socket://biostatcolor3.dhcp.mc.vanderbilt.edu:9100/ -E

biostatcolor4 - HP Color M651 (printer for administrators)

cd /Library/Printers/PPDs/Contents/Resources/

sudo curl -O http://biostat.mc.vanderbilt.edu/wiki/pub/Main/MacPrintersCommandLine/HP_Color_LaserJet_M651.gz

sudo lpadmin -p biostatcolor4 -L "biostatistics" -D "biostatcolor4 HP Color LaserJet M651" -P /Library/Printers/PPDs/Contents/Resources/HP_Color_LaserJet_M651.gz -v socket://biostatcolor4.mc.vanderbilt.edu:9100/ -E

biostatcolor5 - HP Color M553 (graduate student printer)

cd /Library/Printers/PPDs/Contents/Resources/

sudo curl -O http://biostat.mc.vanderbilt.edu/wiki/pub/Main/MacPrintersCommandLine/HP_Color_LaserJet_M553.gz

sudo lpadmin -p biostatcolor5 -L "biostatistics" -D "biostatcolor5 HP Color LaserJet M553" -P /Library/Printers/PPDs/Contents/Resources/HP_Color_LaserJet_M553.gz -v socket://biostatcolor5.dhcp.mc.vanderbilt.edu:9100/ -E
Topic attachments
I Attachment Action Size Date Who Comment
HP_Color_LaserJet_M553.gzgz HP_Color_LaserJet_M553.gz manage 46.9 K 03 Sep 2015 - 16:05 DalePlummer  
HP_Color_LaserJet_M651.gzgz HP_Color_LaserJet_M651.gz manage 46.9 K 03 Sep 2015 - 15:49 DalePlummer  
Edit | Attach | Print version | History: r4 < r3 < r2 < r1 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r2 - 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