Printing from the Command Line
Here are some examples to illustrate the use of the lp commands.
Print a Postscript file to the HH-403 HPLJ P3015
lpr -P lj2 file.psPrint a text file to the HH- 303 HPLJ M630
lpr -P lp3 file.txtOR
enscript -2 -d lp3 file.txtPrint an Adobe Acrobat file to the HH-403 HPLJ P3015, printing only on one side of the page
lpr -P lp2 -o sides=one-sided file.pdfCheck the status of the print queue for the HH-403 HPLJ P3015
lpq -P lp2