Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lpdrm(1MDQS) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lpr(1MDQS)

lprm(1MDQS)

lpdstat(1MDQS)

qmod(1MDQS)

lpq(1MDQS)

qconf(5MDQS)

lpdsend(8MDQS)

qdev(8MDQS)

mdqsd(8MDQS)

sysadmin(8)

lpr(1)

lpq(1)

lprm(1)

printcap(5)

lpc(8)

lpd(8)



LPDRM(1MDQS)            COMMAND REFERENCE            LPDRM(1MDQS)



NAME
     lpdrm - queued print request removal from Berkeley LPD queue

SYNOPSIS
     lpdrm host [ -P printer ] [ -a ] [ job# ... ] [ user ... ]

DESCRIPTION
     The print request removal command lpdrm removes a job or
     jobs from a remote host's printer queue which is running the
     Berkeley LPD spooling system.

     Without any arguments, lpdrm deletes the currently active
     job on the remote host if it is owned by the user who
     invoked lpdrm.

     Specifying a user's name or list of user names causes lpdrm
     to attempt to remove any jobs queued belonging to that user
     (or users) which were queued by the local host.  This form
     of invoking lpdrm is useful only to the superuser.  Jobs
     which were not queued by the local host CANNOT be removed.

     A user may remove an individual job from the queue by
     specifying its job number; this number may be optained from
     lpdstat(1MDQS).

     The lpdrm command prints the names of any files it removes
     and is silent if there are no jobs in the remote printer
     queue which match the request list; lpdrm is called by the
     MDQS lprm command if the printer queue is configured to the
     lpd device.

OPTIONS
     -P printer          Specify the printer on the remote host
                         from which the requests are to be
                         removed (otherwise the default printer,
                         or the value of the PRINTER variable in
                         the environment is used).

     -a                  If this option is specified, lpdrm
                         removes all jobs which a user owns.  If
                         the superuser employs this flag, the
                         spool queue is emptied of jobs submitted
                         by the local host.  The owner is
                         determined by the user's login name and
                         the local host's name.  If this option
                         is used no job or user list is allowed.

EXAMPLES
     The following commands remove all jobs from the default
     printer or the printer specified by the environmental
     variable "PRINTER" on the remote host pogo.  The jobs that
     are removed belong to the user invoking the lpdrm command.



Printed 5/12/88                                                 1





LPDRM(1MDQS)            COMMAND REFERENCE            LPDRM(1MDQS)



     Assume you are logged into the workstation wicket and your
     prompt is

          wicket[21]

     If you type

          lpdrm pogo

     the following messages are returned by the system:

          pogo: dfA012wicket dequeued
          pogo: dfB013wicket dequeued
          pogo: cfA911wicket dequeued

     The following command removes a print job from the printer
     lp on the remote host pogo by use of an indivdual job
     number. The job number is obtained from the lpdstat command.

     At the wicket[22] prompt type

          lpdstat pogo -P lp

     the following messages are then returned by the system:

          lp is ready and printing
          Rank   Owner      Job  Files               Total Size
          active garyb      268  STDIN               54506 bytes

     If you type

           lpdrm pogo -P lp 268

     at the wicket[23] prompt the following messages are returned
     by the system:

          pogo: dfA489wicket dequeued
          pogo: cfA268wicket dequeued

     The following commands remove all print jobs for the user
     garyb from the printer printer1 on the remote host devonn.
     Assume that the invoker is root or user garyb.

     At the wicket[24] prompt type

          lpdrm devonn -P printer1 garyb

     the following messages are then returned by the system:

          devonn: dfA512wicket dequeued
          devonn: dfB512wicket dequeued
          devonn: dfC512wicket dequeued



Printed 5/12/88                                                 2





LPDRM(1MDQS)            COMMAND REFERENCE            LPDRM(1MDQS)



          devonn: cfA081wicket dequeued

RETURN VALUE
     [NO_ERRS]      Command completed without error.

     [USAGE]        Incorrect command line syntax. Execution
                    terminated.

     [NP_ERR]       An error occurred that was not a system
                    error.  Execution terminated.

CAVEATS
     Remote shell (rsh) privileges are required for removing
     requests from remote hosts.

SEE ALSO
     The following manual pages are available on the host which
     uses MDQS to spool a request using the lpdsend server:

     lpr(1MDQS), lprm(1MDQS), lpdstat(1MDQS), qmod(1MDQS),
     lpq(1MDQS), qconf(5MDQS), lpdsend(8MDQS), qdev(8MDQS),
     mdqsd(8MDQS), and sysadmin(8).

     The following manual pages might be available on the remote
     host running the LPD spooling system:

     lpr(1), lpq(1), lprm(1), printcap(5), lpc(8), and lpd(8).




























Printed 5/12/88                                                 3





































































%%index%%
na:360,112;
sy:472,282;
de:754,1557;
op:2311,1013;
ex:3324,395;4151,1546;6129,41;
rv:6170,382;
ca:6552,179;
se:6731,879;
%%index%%000000000154

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