?
Solved

place one printer job on hold in CUPS using command line

Posted on 2009-12-28
1
Medium Priority
?
452 Views
Last Modified: 2013-12-15
I have  Linux server with serveral printers and need to place just one printer jobs on hold status. I have found the command to place jobs on hold but it is for the entire cups apps.
0
Comment
Question by:tjc1978
1 Comment
 
LVL 41

Accepted Solution

by:
noci earned 2000 total points
ID: 26131531
lp -d {printerque}  -H hold  -i {jobid}

and to restart:

lp -d {printerque}  -H restart  -i {jobid}


See also:
http://linux.die.net/man/1/lp-cups
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month15 days, 5 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question