lpstat(1) lpstat(1)NAME lpstat - print LP status information SYNOPSIS lpstat [-a[list]] [-c[list]] [-d] [-o[list]] [-p[list]] [-r] [-s] [-t] [-u[list]] [-v[list]] DESCRIPTION lpstat prints information about the current status of the LP line printer system. If no flag options are given, then lpstat prints the status of all requests made to lp(1) by the user. Any arguments that are not flag options are assumed to be request IDs (as returned by lp). lpstat prints the status of such requests. Flag options may appear in any order and may be repeated and intermixed with other arguments. Some of the options below 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 in- formation relevant to the options to be printed, for exam- ple: lpstat -o prints the status of all output requests. -a[list] Print acceptance status (with respect to lp) of destinations for requests. list is a list of in- termixed printer names and class names. -c[list] Print class names and their members. list is a list of class names. -d Print the system default destination for lp. -o[list] Print the status of output requests. list is a list of intermixed printer names, class names, and request IDs. -p[list] Print the status of printers. list is a list of printer names. -r Print the status of the LP request scheduler. -s Print a status summary, including the status of April, 1990 1
lpstat(1) lpstat(1)the line printer scheduler, the system default destination, a list of class names and their members, and a list of printers and their associ- ated devices. -t Print all status information. -u[list] Print status of output requests for users. list is a list of login names. -v[list] Print the names of printers and the pathnames of the devices associated with them. list is a list of printer names. FILES /usr/bin/lpstat /usr/spool/lp/* SEE ALSO enable(1), lp(1), lpq(1). 2 April, 1990