show printer queue status


lpq [ -E ] [ -U username ] [ -h server [ : port ] ] [ -P destination [ / instance ] ] [ -a ] [ -l ] [ +interval ]


lpq shows the current print queue status on the named printer. Jobs queued on the default destination will be shown if no printer or class is specified on the command-line.

The +interval option allows you to continuously report the jobs in the queue until the queue is empty; the list of jobs is shown once every interval seconds.


lpq supports the following options:

5 -E Forces encryption when connecting to the server.

5 -P destination [ / instance ] Specifies an alternate printer or class name.

5 -U username Specifies an alternate username.

5 -a Reports jobs on all printers.

5 -h server [ : port ] Specifies an alternate server.

5 -l Requests a more verbose (long) reporting format.


Copyright co] 2007-2019 by Apple Inc.


cancel(1), lp(1), lpr(1), lprm(1), lpstat(1), CUPS Online Help (http://localhost:631/help)

Copied to clipboard
free 100$ digital ocean credit