VMS Help  —  LPRM
    Removes one or more jobs from a remote print queue.

    Format

      LPRM  queue {/ALL /ENTRY=n /USER=user_name}

            [/HOST=host]

            [/PRINTER=remote_printer]

1  –  Parameters

 queue

    Required.

    Print queue with waiting jobs you want to delete.

2  –  Qualifiers

2.1    /ALL

    Required, unless you specify /ENTRY or /USER.

    Removes all jobs for all users from the specified queue. Requires
    SYSPRV, OPER, or BYPASS privilege. Comparable to the UNIX command
    lprm -Pqueue - when performed by the root user on the UNIX
    system.

2.2    /ENTRY

       /ENTRY=n

    Required, unless you specify /ALL or /USER.

    Removes the specified job. Specify only your own jobs. You can
    specify a list of values.

2.3    /USER

       /USER=user

    Required, unless you specify /ALL or /ENTRY.

    Removes jobs by user name. You can specify a list of values.

2.4    /HOST

       /HOST=host

    Optional. Default: host defined in the printcap file.

    Removes jobs by host for the host you specified in the
    PRINT /PARAMETERS=(HOST=host) command.

2.5    /PRINTER

       /PRINTER=remote_printer

    Optional. Default: printer defined in the printcap file.

    Removes jobs from the remote printer you specified in the PRINT
    /PARAMETERS=(PRINTER=queue) command.

3  –  Examples

    1.$ LPRM BASE_Q /ENTRY=7

      Deletes job 7 from print queue BASE_Q.

    2.$ LPRM FRONT_Q /ENTRY=(555,556,558)

      Deletes entries 555, 556, and 558 from queue FRONT_Q.
Close Help