GNU/Linux Command – LPQ

lpq — Show Printer Queue status
lpq shows the current print queue status on the named printer. Jobs queued on the default destination will be shown if no printer/class is specified on the command-line.
$ lpq -- Show the default printer Queue status.  $ lpq -P prn2 -- Show the printer PRN2 status.  $ lpq -a -- Show all printers status.  $ lpq -l -- Show in long format.  $ lpq +5 -- Show the status of the default printer status for every 5 Sec interval, until queue become empty.
Read: man lpq

Tagged with: ,
Posted in Uncategorized

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: