Name
lpstat
Synopsis
lpstat [options
] [queues
]
Show the status of the print queue or queues. 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. For the LPRng print service, lpstat is a frontend to the lpq program. With no arguments, lpstat shows jobs queued by the current user.
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
Use encryption when connecting to the print server.
- -I
When showing printers, classes, or jobs, print a long listing.
- -o [list]
Show the status of output requests. list contains printer names, class names, or request IDs.
- -p [list]
Show the status of printers named in list.
- -r
Show whether the print scheduler is on or off.
- -s
Summarize the print status (show almost everything).
- -t
Show all status information (report everything).
- -u [list]
Show request status for users on list. Use all to show information on all users.
- -U username
Specify an alternate username.
- -v [list]
Show printers and the devices they are attached to.
Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.