GNU/Linux Command – LPSTAT

lpstat — Print CUPS status information
 
Summary:
 
lpstat displays status information about the current jobs, and printers. When run with no arguments, lpstat will list jobs queued by the user.
 
Example:
$ lpstat -- List jobs queued by the user.  $ lpstat -a -- Shows the accepting state of all printer queues.  $ lpstat -d -- Show default printer queue.  $ lpstat -p -- Shows the printers status.  $ lpstat -r -- Shows whether or not the CUPS server is running.  $ lpstat -s -- Shows a status summary  $ lpstat -t -- Show a detailed status  $ lpstat -u user1 -- Shows the print jobs queued by user1.  $ lpstat -v prn1 -- Shows printers and the devices that they are attached to.
 
Read: man lpstat

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: