Determine Your Default Printer


lpstat -d

You know all of your printers, thanks to running lpstat -p, but which one is the default? As you're going to see soon, you can send a print job to a specific printer, or you can quickly send it to your default printer. To find out which printer is the default, use the lpstat command with the -d (for default) option.

$ lpstat -d system default destination: bro 


Of course, if you only have one printer connected to your computer, you probably don't need to run this command. But for laptop users who move around to different locations and who print to different printers, this command is essential.



Linux Phrasebook
Linux Phrasebook
ISBN: 0672328380
EAN: 2147483647
Year: 2007
Pages: 288

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net