printing a job
Kurt Pfeifle
k1pfeifle at gmx.net
Mon Aug 27 14:40:40 PDT 2007
Mohammad wrote:
> Awesome. Thank you very much.
>
> Do you know how I can figure out how many pages were printed?
There is no easy, direct way to get the number of pages printed on
the commandline.
As for the web interface -- that will only tell the number of pages
*after* the job is finished (i.e. not during the 'hold' state).
If you need sophisticated print accounting for CUPS, then have a
look at www.pykota.com
> Even in cups
> web interface it's written unknown in page number entry.
>
>
>> 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