Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lpstat(1) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

enable(1)

lp(1)



     lpstat(1)                  DG/UX 4.30                   lpstat(1)



     NAME
          lpstat - print LP lineprinter 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 by commas, or a list of
          items enclosed in double quotes and separated by commas
          and/or one or more spaces.  For example:

               -u "user1, user2, user3"

          If you omit the list, all information relevant to the
          keyletter is 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
                      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.



     Licensed material--property of copyright holder(s)         Page 1





     lpstat(1)                  DG/UX 4.30                   lpstat(1)



          -u[list]    Print status of output requests for users.  List
                      is a list of log-in names.

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

     EXAMPLES
          $ lpstat
          lpt-1761              intern           18674   Nov 30 17:04 on lpt
          $

          Displays the status of all requests made to the printer
          spooler by the user using the lp command.  If there are no
          print requests active, the command returns to the prompt
          with no message.

          $ lpstat -t
          scheduler is running
          system default destination: lpt
          device for lpt: /dev/lp
          lpt accepting requests since Nov 13 16:00
          printer lpt is idle.  enabled since Nov 13 16:00
          $

          Displays all status information about the system line
          printer.  This includes the status of the line printer
          scheduler, the system default destination, a list of
          printers and their associated devices, acceptance status of
          the printers, and current printer status.  This can either
          indicate the printer is idle or it will display which
          requests are being printed.

     FILES
          /usr/spool/lp/*

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

















     Licensed material--property of copyright holder(s)         Page 2



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