lpstat(1) lpstat(1)NAME lpstat - prints lp status information SYNOPSIS lpstat [-a[list]] [-c[list]] [-d] [-o[list]] [-p[list]] [-r] [-s] [-t] [-u[list]] [-v[list]] ARGUMENTS -a[list] Prints acceptance status (with respect to lp) of destinations for requests. Replace list with a list of intermixed printer names and class names. -c[list] Prints the class names and their members. Replace list with a list of class names. -d Prints the system default destination for lp. -o[list] Prints the status of output requests. Replace list with a list of intermixed printer names, class names, and request IDs. -p[list] Prints the status of printers. Replace list with a list of printer names. -r Prints the status of the lp request scheduler. -s Prints a status summary, including the status of the line printer scheduler, the system default destination, a list of class names and their members, and a list of printers and their associated devices. -t Prints all status information. -u[list] Prints status of output requests for users. Replace list with a list of login names. -v[list] Prints the names of printers and the pathnames of the devices associated with them. Replace list with a list of printer names. DESCRIPTION lpstat prints information about the current status of the lp line printer system. If no options are given, then lpstat prints the status of all requests made to lp by the user. Any arguments that are January 1992 1
lpstat(1) lpstat(1)not options are assumed to be request IDs (as returned by lp). The lpstat command prints the status of such requests. Some of the options may 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 enclosed in double quotes and separated from one another by a comma and/or one or more spaces. For example: -u user1, user2, user3 The omission of a list following such options causes all information relevant to the options to be printed, for example: lpstat -o prints the status of all output requests. FILES /usr/bin/lpstat Executable file /usr/spool/lp/* Spooler files SEE ALSO enable(1), lp(1), lpq(1) 2 January 1992