Linux Move a print job from one queue to another

Q. I have two queues. Under Windows it is very easy to move a print job from one queue to another. But how do I move a print job from one queue to another under Linux computer or server?

A. You need to use lpmove command which is use to move a job or all jobs to a new destination i.e. from one queue to another queue. Job can be the job ID number or the old destination and job ID.

For example, if you have a job called FOO on the queue called Q1 and wanted to move it to Q2, then type following command:

# lpmove FOO Q2

You can specify username using -U option:

# lpmove -U vivek FOO Q2

  • -U vivek: Specifies an alternate username (vivek)

You can also use webbased user interface instead of command line:

  • http://localhost:631
  • http://server-ip:631/

See also:


🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 1 comment so far... add one


CategoryList of Unix and Linux commands
Disk space analyzersdf duf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Modern utilitiesbat exa
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg glances gtop jobs killall kill pidof pstree pwdx time vtop
Searchingag grep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
1 comment… add one
  • Josh Aug 5, 2011 @ 17:06

    I’ve tried this and it successfully moves the print job, however the job just sits there and doesn’t print. I’ve tried the resume command as well:

    lp -i cfrlex3-1031 -H resume

    The job still just sits there, any ideas? Thanks

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum