Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (7229 KB)
lpstat(1)Name | Synopsis | Description | Options | Exit Status | Files | Attributes | See Also | Notes Name
Synopsis
lpstat [-d] [-r] [-R] [-s] [-t] [-a [list]] [-c [list]]
[-f [list]] [-o [list]] [-p [list] [-D]] [-S [list]]
[-u [login- ID -list]] [-v [list]] [-l level]
DescriptionThe lpstat utility displays information about the current status of the LP print service to standard output. If no options are given, lpstat prints the status of all the user's print requests made by lp. See lp(1). Any arguments that are not options are assumed to be request-IDs as returned by lp. The lpstat command prints the status of such requests. options appears in any order and can be repeated and intermixed with other arguments. Some key letters can be followed by an optional list that can be in one of two forms: a list of items separated from one another by a comma, or a list of items separated from one another by spaces enclosed in quotes. For example:
Specifying all after any key letter that takes list as an argument causes all information relevant to the key letter to be printed. For example, the command:
prints the status of all output requests. The omission of a list following such key letters causes all information relevant to the key letter to be printed. For example, the command:
prints the status of all output requests. The print client commands locate destination information using the “printers” database in the name service switch. See nsswitch.conf(4), printers(4), and printers.conf(4) for details. Options
The following options are supported: Exit StatusFiles
AttributesSee attributes(5) for descriptions of the following attributes:
See Alsocancel(1), lp(1), lpq(1B), lpr(1B), lprm(1B), nsswitch.conf(4), printers(4), printers.conf(4), attributes(5), standards(5) NotesFor remote print queues, the BSD print protocol provides a very limited set of information. The Internet Print Protocol (IPP) is preferred. When IPP is in use, the user is prompted for a passphrase if the remote print service is configured to require authentication. Name | Synopsis | Description | Options | Exit Status | Files | Attributes | See Also | Notes |
|||||||||