lpmove Command

Note: This is a System V Print Subsystem command.

Purpose

Moves print requests.

Syntax

lpmove Requests Destination

lpmove Destination1 Destination2

Description

The lpmove command moves requests that were queued by lp between LP destinations. This command moves a specific Request to the specified Destination. Requests are request-IDs returned by lp. You can also attempt to move all requests for Destination1 to Destination2. This form of the lpmove command causes lp to reject any new requests for Destination1.

Note: When moving requests, lpmove never checks the acceptance status (see accept) of the new destination. Also, the request-IDs of the moved requests are not changed, so you can still find their requests. The lpmove command does not move requests that have options (such as content type and form required) that cannot be handled by the new destination.

If a request was originally queued for a class or the special destination any and the first form of lpmove was used, the destination of the request is changed to New-Ddestination. A request thus affected is printable only on New-Destination and not on other members of the class or other acceptable printers if the original destination was any.

If you enter lpmove -?, the system displays the command usage message and returns 0.

Security

Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in AIX® Version 7.1 Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

Files

Item Description
/var/spool/lp/*