lpmove

moves print jobs between queues

TLDR

Move job to another printer
$ lpmove [job_id] [destination_printer]
Move all jobs from printer
$ lpmove [source_printer] [destination_printer]
Move specific job
$ lpmove [printer]-[job_id] [destination]

SYNOPSIS

lpmove [options] job destinationlpmove [options] source destination

DESCRIPTION

lpmove moves print jobs between queues. It transfers jobs from one printer to another.The tool is useful when a printer fails or needs maintenance. Jobs continue waiting in the new queue.

PARAMETERS

JOB

Job ID number or old destination and job ID (e.g., oldprinter-123).
SOURCE
Source printer name (moves all jobs from this printer).
DESTINATION
Target printer name.
-E
Force encryption when connecting to the server.
-U _username_
Specify an alternate username.
-h _server[:port]_
Specify an alternate server.

INSTALL

sudo apt install cups-client
sudo dnf install cups-client
sudo apk add cups-client
sudo zypper install cups-client

CAVEATS

Requires administrative access. Jobs must be pending. CUPS must be running.

HISTORY

lpmove is part of CUPS for moving print jobs between printer queues.

SEE ALSO

cancel(1), lp(1), lpq(1), lpr(1), lprm(1), lpadmin(8), lpstat(1)