lpmove(8)
π lpmove β bestie edition (section 8, OpenPrinting girlies rise up) π
okay so real talk: this is lpmove(8), and it does exactly one thing but it does it beautifully. It moves a job β or like, ALL the jobs β to a new destination. That's it. That's the whole vibe. Print queue glow-up, no cap. π
β¨ NAME β¨
lpmove β move a job or all jobs to a new destination πβ¨
πΈ SYNOPSIS πΈ
lpmove [ -h server[:port] ] [ -E ] [ -U username ] job destination
lpmove [ -h server[:port] ] [ -E ] [ -U username ] source destination
π DESCRIPTION π
So like. lpmove moves the specified job, or literally all the jobs, from source to destination. Girl math: your print job said it was going to one printer and now it's going to a different printer. Iconic behavior honestly.
And job? It can be the job ID number or the old destination and job ID together. Two flavors, both valid, pick your fighter. π₯
π OPTIONS π
The lpmove command supports the following options, and yes we're going through every single one because they all matter:
-Eβ Forces encryption when connecting to the server. Locked down, secure, private. It's giving main character who uses a VPN. π-Uusernameβ Specifies an alternate username. Not you? Cool, be someone else for a sec. π-hserver[:port]β Specifies an alternate server. Want a different server? Say less, bestie.
β οΈ ok but listen: -h must occur before all others. Like, before. First. Number one. Not last, not in the middle. If you put it anywhere else it will not do the thing and you will be sad. Order matters, fr fr. π
π₯ 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 how the second one has no job number? Yeah. That's the "everything, all of it, the whole queue" energy. Spring cleaning but for print jobs. π§Ήπ¦
π SEE ALSO π
Go be nosy, these are all your friends:
cancel(1)lp(1)lpr(1)lprm(1)- CUPS Online Help (
http://localhost:631/help)
π COPYRIGHT π
Copyright Β© 2020-2024 by OpenPrinting.
and that's the whole page, bestie π β this one's from the CUPS girlies over at OpenPrinting, dated 2022-05-02, filed under lpmove(8). go move some jobs, you got this. mwah. π
β¨
π¦ where this page comes from
- alpine 3.22: cups-doc 2.4.18-r0 Β· Apache-2.0
- alpine 3.23: cups-doc 2.4.18-r0 Β· Apache-2.0
- alpine 3.24: cups-doc 2.4.19-r1 Β· Apache-2.0
- centos-stream 10: cups 1:2.4.10-18.el10 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- debian trixie: cups-client 2.4.10-3+deb13u1 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- debian trixie: cups-client 2.4.10-3+deb13u2 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- fedora 43: cups 1:2.4.14-2.fc43 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 43: cups 1:2.4.19-3.fc43 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 44: cups 1:2.4.16-7.fc44 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 44: cups 1:2.4.19-3.fc44 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- nixpkgs unstable: cups 2.4.19
- opensuse-leap 16.0: cups-client 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups-client 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups-client 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups-client 2.4.19-160000.2.1 Β· Apache-2.0
- ubuntu questing: cups-client 2.4.12-0ubuntu3
- ubuntu questing: cups-client 2.4.12-0ubuntu3.10
- ubuntu resolute: cups-client 2.4.16-1ubuntu1 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- ubuntu resolute: cups-client 2.4.16-1ubuntu1.3 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- ubuntu stonking: cups-client 2.4.16-1ubuntu3 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- Copyright Β© 2020-2024 by OpenPrinting
- Copyright Β© 2007-2019 by Apple Inc
- Copyright Β© 1997-2006 by Easy Software Products
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms