printing a job

Kurt Pfeifle k1pfeifle at gmx.net
Mon Aug 27 14:27:22 PDT 2007


Mohammad wrote:

> I have set up cups on my computer and it's working fine. I have change 
> its setting so that it holds all print jobs coming to it.
> 
> I can see all held jobs on CUPS web interface, but I would like to do 
> that using command line. I would be glad if you let me know how I can 
> print each job.
> 
> I have tried lp -i job-id with no luck.


# list all held jobs from all queues:
   lpstat -o

# list jobs from a specific queue:
   lpstat -o queuename

# release a held job:
   lp -i jobid -H resume


-- 
Kurt Pfeifle
System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
Infotec Deutschland GmbH  .....................  Hedelfinger Strasse 58
A RICOH Company  ...........................  D-70327 Stuttgart/Germany




More information about the cups mailing list