System and processes
The lpstat command
Shows the status of CUPS printers (the default printer with -d).
Most useful options
-pLists the printers-dShows the default printerCopy-ready examples
$ lpstat -pSee the printers$ lpstat -dDefault printerYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- Printers are defined in /etc/cups/printers.conf.
FAQ
What does lpstat show?
The status of CUPS printers and print jobs.
How do I see the default printer?
With lpstat -d.
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course