lpmove
Move print jobs to a new destination
TLDR
Move a specific job to new_printer
Move a job from old_printer to new_printer
Move all jobs from old_printer to new_printer
Move a specific job to new_printer on a specific server
SYNOPSIS
lpmove job destination
PARAMETERS
job
The job ID to move (e.g., printer-123). The job ID can be retrieved using the `lpstat` command.
destination
The name of the printer or class to which the job should be moved. You can obtain a list of valid destinations using the `lpstat` command.
DESCRIPTION
The lpmove command is used to move print jobs between printers or classes managed by the CUPS printing system. It's primarily used by system administrators to redirect jobs that are stuck, misrouted, or need to be prioritized on a different printer. lpmove allows you to either move a single job to a new destination or move all jobs from one destination to another. CUPS (Common UNIX Printing System) handles the scheduling and distribution of print jobs, and lpmove is a critical tool for managing the print queue within that system.
You must have appropriate administrative privileges (usually root or membership in the lpadmin group) to use lpmove successfully. Incorrect usage can disrupt printing services, so it's recommended to use it carefully. Be aware that moving jobs may require resubmitting them if the destination printer's configuration is significantly different from the original printer.
CAVEATS
lpmove requires root privileges (or membership in the lpadmin group). Moving jobs may require resubmitting them if the printer configurations differ significantly.
EXAMPLES
Move job "deskjet-123" to printer "laserjet":
lpmove deskjet-123 laserjet
Move all jobs from virtual printer source to virtual printer dest
lpmove source dest
HISTORY
lpmove is part of the CUPS (Common UNIX Printing System). CUPS was originally developed by Easy Software Products, and is now maintained by Apple Inc.
The lpmove command was introduced as part of CUPS to provide administrators with a straightforward way to manage the print queue and move jobs between printers.