LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

lpmove

moves print jobs between queues

TLDR

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

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.

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)

Copied to clipboard
Kai