Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
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.
Show whether the list of printer or class names is accepting requests.
Show information about printer classes named in list.
Show the default printer destination.
Verify that the list of forms is known to lp.
Use after -f to describe available forms, after -p to show printer configurations, or after -s to describe printers appropriate for the specified character set or print wheel.
Show the status of output requests. list contains printer names, class names, or request IDs.
Show the status of printers named in list.
Show whether the print scheduler is on or off.
Summarize the print status (show almost everything).
Show all status information (report everything).
Show request status for users on list. Use all to show information on all users.