Name
lpstat
Synopsis
lpstat [options]
Prints the lp print queue status. With options
that take a list argument, omitting the list
produces all information for that option. list
can be separated by commas or, if enclosed in double quotes, by
spaces.
Options
-
-a [list] Show whether the list of printer or class names is accepting requests.
-
-c [list] Show information about printer classes named in list.
-
-d Show the default printer destination.
-
-E Forces an encrypted connection if supported by the print server.
-
-hhost Communicate with print server host,
localhostby default.-
-l Shows a long listing of classes, jobs, or printers when used before
-c,-o, or-p, respectively.-
-o[list] Show job queues for printers in list, or all printers if list isn’t given.
-
-p [list] Show the status of printers named in list, or all printers if list isn’t given.
-
-r Show whether the print scheduler is on or off.
-
-R Show the job’s position in the print queue when used before
-o.-
-s Summarize the print status (shows almost everything). Same as
-d-c-v.-
-t Show all status information (reports everything). Same as
-r-d-c-v-a-p.-
-uuser Show request status for user, or all users if user isn’t given.
-
-v [list] Show device associated with each printer named in list, or all printers if list isn’t given.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access