Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lpstat(1) — HP-UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

enable(1)

lp(1)

rlpstat(1M)

LPSTAT(1)  —  HP-UX

NAME

lpstat − print LP status information

SYNOPSIS

lpstat [options]

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(1) by the user. Any arguments that are not options are assumed to be request ids (as returned by lp). Lpstat prints the status of such requests.  Options may appear in any order and may be repeated and intermixed with other arguments.  Some of the keyletters 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 keyletters causes all information relevant to the keyletter to be printed, for example:

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 intermixed 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.

−i Inhibit the reporting of remote status. 

−o[list] Print the status of output requests.  List is a list of intermixed printer names, class names, and request ids. See the −i option. 

−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 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 Print all status information.  Same as specifying −r, −s, −a, −p, −o.  See the −i option. 

−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 path names of the devices associated with them.  List is a list of printer names. 

EXAMPLES

To check if your job is queued, type:

lpstat

To check where in line a queued job is, type:

lpstat -t

To check if the job scheduler is running, type:

lpstat -r

DEPENDENCIES

Series 300 Diskless
In a clustered environment, all printers are attached to the rootserver and all spooling is handled as if the cluster were a single system. Remote spooling applies to spooling from or to machines outside of the cluster.

FILES

/usr/spool/lp/∗

SEE ALSO

enable(1), lp(1), rlpstat(1M). 

INTERNATIONAL SUPPORT

messages. 

Hewlett-Packard Company  —  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026