uprint-lprm - Deletes print jobs
uprint-lprm [-P queue] [-] [job number] [user]
This program is part of the PPR Uprint suite. See the UPRINT(1)
man page
to learn about the Uprint suite.
The program uprint-lprm is used to delete print jobs. On your system, the lprm command may be an alias for uprint-lprm.
There are several ways to indicate which queue one wants to remove a job from. If the -P switch is used, it overrides all other settings. If the -P switch is not used, then uprint-lprm falls back on the PRINTER environment variable. If the PRINTER environment variable is not defined, then it looks for a ``uprint-lpr='' setting in the ``[default destinations]'' section of uprint.conf. If that too is not set, then uprint-lprm assumes a queue name of ``lp''.
There are three ways to specify which jobs within the selected queue should be deleted.
If one or more job id numbers are specified, then the jobs with those id numbers will be deleted.
If one or more user names are specified, then all jobs owned by those users will be deleted. Since ordinary users may not delete other people's jobs, this option is only useful to the user ``root''. (Note that PPR operators cannot delete other people's jobs with uprint-lprm as they can with ppop.)
If the - option is used, then all job belonging to the user who is running lprm are deleted. If the user ``root'' is the one running lprm, then all jobs in the queue are deleted.
Note that if the remote server is running PPR's lprsrv, then the definition of ``all jobs owned by this user'' or ``all jobs in the queue'' may be limited to those jobs submitted from the network node on which lprm is being run. However, the ``proxy class='' setting in the lprsrv.conf file can be used to expand this scope at least somewhat.
David Chappell, Trinity College Computing Center, Hartford, Connecticut.