Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lpstat(C) — OpenDesktop 1.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

enable(C)

lp(C)


     LPSTAT(C)                            UNIX System V



     Name
          lpstat - print information about status of LP print service


     Syntax
          lpstat [options]


     Description
          lpstat prints information about the current status of the LP
          print service.

          If no options are given, then lpstat prints  the  status  of
          all requests made to lp(C) by the users.  Any arguments that
          are not options are assumed to be request-ids  (as  returned
          by  lp),  printers,  or  printer classes.  lpstat prints the
          status of  such  requests,  printers,  or  printer  classes.
          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"

          Specifying "all" after any keyletters that take "list" as an
          argument causes all information relevant to the keyletter to
          be printed.  For example, the command

               lpstat -o all

          prints the status of all output requests.

          -a [list]    Print acceptance status (with respect to lp) of
                       destinations  for  requests  [see accept(ADM)].
                       list is a list of intermixed printer names  and
                       class names; the default is all.

          -c [list]    Print class names and their members.  list is a
                       list of class names; the default is all.

          -d           Print the system default destination for lp.

          -f [list] [-l]
                       Print a verification that the  forms  in  form-
                       list  are  recognized  by the LP print service.
                       The -l option will list the form descriptions.

          -o [list] [-l]
                       Print the status of output requests.  list is a
                       list  of intermixed printer names, class names,
                       and request-ids; the default is  all.   The  -l
                       option  gives  a  more  detailed  status of the
                       request.

          -p [list] [-D] [-l]
                       Print the status of printers named in list.  If
                       the  -D option is given, a brief description is
                       printed for each printer in list.   If  the  -l
                       option  is  given,  a  full description of each
                       printer's configuration is given, including the
                       form   mounted,   the  acceptable  content  and
                       printer  types,  a  printer  description,   the
                       interface used, and so on.

          -r           Print the status of the LP request scheduler.

          -s           Print a status summary,  including  the  system
                       default  destination, a list of class names and
                       their members, a list  of  printers  and  their
                       associated   devices,   a  list  of  all  forms
                       currently mounted, and a list of all recognized
                       character sets and print wheels.

          -S [list] [-l]
                       Print a verification that the character sets or
                       the   print   wheels   specified  in  list  are
                       recognized by the LP print service.   Items  in
                       list can be character sets or print wheels; the
                       default for the list is all.  If the -l  option
                       is  given,  each  line is appended by a list of
                       printers that can handle  the  print  wheel  or
                       character set.  The list also shows whether the
                       print wheel or  character  set  is  mounted  or
                       specifies the built-in character set into which
                       it maps.

          -t           Print all status information.

          -u [list]    Print status  of  output  requests  for  users.
                       List  is a list of login names.  The default is
                       all.

          -v [list]    Print the names of printers and the path  names
                       of the devices associated with them.  list is a
                       list of printer names.  The default is all.


     Files
          /usr/spool/lp/*


     See Also
          enable(C), lp(C)


     Standards Conformance
          lpstat is conformant with:
          AT&T SVID Issue 2, Select Code 307-127;
          and The X/Open Portability Guide II of January 1987.


     (printed 2/15/90)                                  LPSTAT(C)































































































































































































































































































































































































































































































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