Basic Printer Commands


lpr { filename }

   send a file to the current or defualt printer driver

lpq 

   list current printing jobs

lprm { job no# }

   remove or cancel a printing job (based on job#) from the printer queue

lpr -Plp3 { myfile }

   will send the file myfile to lp3 port

 

Other tricks that can help you around the System:


  ls -al | lpr


The command above will send or redirect the list command's output to the printer, the default selected printer driver