System and processes

The lpstat command

Shows the status of CUPS printers (the default printer with -d).

Syntax

lpstat [-p | -d]Try it in the terminal →

Most useful options

-pLists the printers
-dShows the default printer

Copy-ready examples

$ lpstat -pSee the printers
$ lpstat -dDefault printer

You can try them in the browser terminal: it does not touch your computer.

Typical mistakes

  • Printers are defined in /etc/cups/printers.conf.

Related commands

FAQ

What does lpstat show?

The status of CUPS printers and print jobs.

How do I see the default printer?

With lpstat -d.

More System and processes commands

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