


      LPSTAT(1)                   (UNIX 5.2)                  LPSTAT(1)



      NAME
           lpstat - print LP status information

      SYNTAX
           lpstat [options]

      DESCRIPTION
           Lpstat is part of the LP Spooling System.  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.

           -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



      Page 1                                          (73 A2 02MT REV1)






      LPSTAT(1)                   (UNIX 5.2)                  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
                       associated 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/spool/lp/*

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




































      Page 2                                          (73 A2 02MT REV1)



