VMS Help  —  LPQ
    Displays the status of your jobs in a remote print queue:

    o  Current rank of your job in the queue

    o  Names of your queued files

    o  Job identifier

    o  Size of jobs in bytes

    Format

      LPQ  queue [ /ENTRY=n ]

           [ /HOST=host ]

           [ /PRINTER=remote_printer ]

           [ /USER=user_name ]

1  –  Parameters

 queue

    Required.

    Queue for which you want status.

2  –  Qualifiers

2.1    /ENTRY

       /ENTRY=n

    Optional. Default: all jobs. You can specify a list of values.

    Displays status for the specified jobs.

2.2    /HOST

       /HOST=host

    Optional. Default: host defined in the printcap file.

    Displays status for the jobs you sent to the specified
    host. This is the host you also specified in the PRINT
    /PARAMETERS=(HOST=host) command.

2.3    /PRINTER

       /PRINTER=remote_printer

    Optional. Default: printer defined in the printcap file.

    Displays status for the jobs you sent to the specified remote
    printer. This is the queue you also specified in the PRINT
    /PARAMETERS=(PRINTER=queue) command.

2.4    /USER

       /USER=user

    Optional. Default: all users.

    Displays status for the jobs sent by the specified user. You can
    specify a list of values.

3  –  Examples

    1.$ LPQ LPS40_QUE

      Shows all entries in the LPS40_QUE queue.

    2.$ LPQ MAIN_QUE /ENTRY=4

      Shows information about job 4 in the print queue named MAIN_
      QUE.

    3.$ LPQ PEACE_8 /ENTRY=(1,2,3)

      Shows information about jobs 1, 2, and 3 in print queue PEACE_
      8.

    4.$ LPQ 3RD_FLOOR_Q /USER=MILLER

      Shows information about user MILLER's jobs in the print queue
      called 3RD_FLOOR_Q.
Close Help