lprm-papi

Langue: en

Version: PAPI BSD Commands (mandriva - 22/10/07)

Section: 1 (Commandes utilisateur)

NAME

       lprm - cancel print jobs

SYNOPSIS

/usr/bin/lprm [-P destination ] [-] [ job-id  ...] [ user  ...]

DESCRIPTION

The lprm utility removes print requests from the print queue.

Without arguments, lprm deletes the current print request. lprm reports the job identifiers of the requests that it attempts to remove and a status message indicating success or failure. If there are no applicable print requests to remove, lprm is silent.

Users can only remove print requests the back-end print service authorizes. In most cases, this will be limitted to the user that submitted the print request.

OPTIONS

The following options are recognized by lprm :
-P
destination
The name of the destination from which to remove the print requests. If no destination is specified, the contents of the PRINTER environment variable are used. If the PRINTER environment variable is not set, the contents of the LPDEST environment variable are used. If the LPDEST environment variable is not set, the value "lp" is used.
-

All requests that can be cancelled should be cancelled.
job-id

the job number of a print job
user

the job-owner of a print job

SEE ALSO

lpr(1), lpq(1), papi(3) Copyright 2003 Sun Microsystems, Inc. All rights reserved
Use is subject to license terms.