lpmove - Man Page
move a job or all jobs to a new destination
Examples (TL;DR)
- Move a specific job to
new_printer
:lpmove job_id new_printer
- Move a job from
old_printer
tonew_printer
:lpmove old_printer-job_id new_printer
- Move all jobs from
old_printer
tonew_printer
:lpmove old_printer new_printer
- Move a specific job to
new_printer
on a specific server:lpmove -h server job_id new_printer
Synopsis
lpmove [ -h server[:port] ] [ -E ] [ -U username ] job destination
lpmove [ -h server[:port] ] [ -E ] [ -U username ] source destination
Description
lpmove moves the specified job or all jobs from source to destination. job can be the job ID number or the old destination and job ID.
Options
The lpmove command supports the following options:
- -E
Forces encryption when connecting to the server.
- -U username
Specifies an alternate username.
- -h server[:port]
Specifies an alternate server. Note: This option must occur before all others.
Examples
Move job 123 from "oldprinter" to "newprinter":
lpmove 123 newprinter or lpmove oldprinter-123 newprinter
Move all jobs from "oldprinter" to "newprinter":
lpmove oldprinter newprinter
See Also
cancel(1), lp(1), lpr(1), lprm(1),
CUPS Online Help (http://localhost:631/help)
Copyright
Copyright © 2020-2024 by OpenPrinting.
Referenced By
CUPS 2022-05-02 OpenPrinting