Howtos and Tutorials

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.

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.

-f [list]

Verify that theÂ list of forms is known toÂ lp.

-l

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.

Gishore J Kallarackal is the founder of techgurulive. The purpose of this site is to share information about free resources that techies can use for reference. You can follow me on the social web, subscribe to the RSS Feed or sign up for the email newsletter for your daily dose of tech tips & tutorials. You can content me via @twitter or e-mail.