lpmove(8)

Name

lpmove - move a job or all jobs to a new destination

Synopsis

lpmove [ -E ] [ -h server[:port] ] [ -U username ] job destination
lpmove [ -E ] [ -h server[:port] ] [ -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.

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 © 2007-2019 by Apple Inc.