Category: Cups (Common UNIX Printing System)

Added: 30th of October 2021

Updated On: 29th of November 2021

Viewed: 135 times

Show status of printers and other printer information using the terminal in Linux

This article was rechecked and updated on 29/11/21

There are a few options you can use to check the status of your printers in Linux.

You can use the printers option in your desktop environment or by accessing CUPS (Common UNIX Printing System) through your webbrowser at the following URL,

Another way is to use the lpstat and lpr commands in the terminal. The longer you use Linux, the more you will turn to using the terminal for probing of hardware and other basic operations.

To check what printers are in your network enter the following command

lpstat -e


To check the current status of all printers in your network
lpstat -p

printer Deskjet-D1500-series disabled since Mon 26 Jul 2021 15:30:16 BST - Unplugged or turned off
printer HP_ENVY_6000_series_C65AC5_ is idle. enabled since Sat 30 Oct 2021 03:08:08 BST

To display your default printer
lpstat -d

system default destination: HP_ENVY_6000_series_C65AC5_

To print a file from the default printer, enter the following command.
lp filename.ext

Other Tips & Tutorials

Cups (Common UNIX Printing System)

Show status of printers and other printer information using the terminal in Linux

Posted: 30th of October 2021

Views: 135

Cups (Common UNIX Printing System)

Start, Stop and Restart the Cups print Server in Linux using the terminal

Posted: 30th of September 2020

Views: 4326

Cups (Common UNIX Printing System)

Cups, Unauthorized Enter your username and password or the root username and password to access this page.

Posted: 30th of September 2020

Views: 751