Linux print commands

Determine printer status

lpstat -p -d


me@pc ~ $ lpstat -p -d
printer Officejet_J6400 is idle.  enabled since Fri 31 Aug 2012 10:22:16 BST
system default destination: Officejet_J6400

Set default printer

lpadmin -d <printer>

Where <printer> is the printer name e.g. Officejet_J6400.


Last modified: 28/09/2012 Tags: ,

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top