Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

enable(1)

lp(1)

LPSTAT(1)                            SysV                            LPSTAT(1)



NAME
     lpstat - print LP status information

SYNOPSIS
     lpstat [ options ]

DESCRIPTION
     lpstat prints information about the current status of the LP spooling
     system.

     If no options are given, lpstat prints the status of all requests made to
     lp(1).  Any arguments that are not options are assumed to be request ids
     (as returned by lp).  lpstat prints the status of such requests.  Options
     can appear in any order and may be repeated and intermixed with other
     arguments.  Some options 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

     ⊕  A list of items enclosed in double quotes and separated from one
        another by a comma and/or one or more spaces.  For example:

          lpstat -u"user1, user2, user3"

     The omission of a list following these options causes all information
     relevant to the option to be printed, for example:
          lpstat -o

     prints the status of all output requests.

OPTIONS
     -a[list]  Prints acceptance status (with respect to lp) of destinations
               for requests.  List is a list of intermixed printer names and
               class names.

     -c[list]  Prints class names and their members.  List is a list of class
               names.

     -d        Prints the system default destination for lp.

     -o[list]  Prints the status of output requests.  List is a list of
               intermixed printer names, class names, and request ids.

     -p[list]  Prints the status of printers.  List is a list of printer
               names.

     -r        Prints the status of the LP request scheduler

     -s        Prints a status summary, including 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.  List is a list of
               login names.

     -v[list]  Prints the names of printers and the path names of the devices
               associated with them.  List is a list of printer names.

FILES
     /usr/spool/lp/*

SEE ALSO
     enable(1), lp(1).

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