[cups] Bash Command for List of Jobs

Guy Wickenden guy.wickenden at equator-design.com
Wed Jan 14 13:59:45 PST 2015


Nice one Michael, looks like that directly corresponds to the number of lines and data I have from "$lpstat -W completed". Thanks so much!!!

Warm Regards,
Guy

> On 14 Jan 2015, at 18:54, Michael Sweet <msweet at apple.com> wrote:
> 
> Guy,
> 
> Try:
> 
>    ipptool ipp://localhost:631/jobs get-completed-jobs.test
> 
> 
>> On Jan 13, 2015, at 12:02 PM, Guy Wickenden <guy.wickenden at equator-design.com> wrote:
>> 
>> Thanks Michael and Johannes,
>> 
>> I am trying to find a way to do this, currently I cannot find the name at all. Is it possible to interrogate cups using a Job ID that gives all the details of that job?
>> 
>> Cheers,
>> Guy
>> GUY WICKENDEN Systems Consultant
>> guy.wickenden at equator-design.com <mailto:guy.wickenden at equator-design.com>
>> t  07703 798 189
>> 
>> The Ragged School, School Street, Manchester, M4 4HD, UK 
>> www.equator-design.com <http://www.equator-design.com/>
>> 
>> 
>> 
>> EQUATOR DESIGN PART OF GJ CREATIVE UK  USA  AUS  IRL  CHN
>> 
>> 
>> The content of this email and any attachments is confidential.
>> Internet communications are not secure and Equator accepts 
>> no legal responsibility for the contents of this message.
>> Please do not print this email unless you really need to.
>> 
>> 
>> 
>> 
>> 
>>> On 13 Jan 2015, at 09:12, Johannes Meixner <jsmeix at suse.de> wrote:
>>> 
>>> 
>>> Hello,
>>> 
>>> On Jan 12 20:03 Michael Sweet wrote (excerpt):
>>>> It comes from the "job-name" attribute.  What's strange is that
>>>> lpstat asks for this attribute but never does anything with it...
>>> 
>>> I submitted
>>> https://cups.org/str.php?L4562
>>> "lpstat cannot show all attributes that the web interface can show"
>>> 
>>> 
>>> Kind Regards
>>> Johannes Meixner
>>> -- 
>>> SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard, Jennifer Guild,
>>> Dilip Upmanyu, Graham Norton - HRB 21284 (AG Nuernberg)
>>> 
>>> _______________________________________________
>>> cups mailing list
>>> cups at cups.org
>>> https://www.cups.org/mailman/listinfo/cups
>> 
>> _______________________________________________
>> cups mailing list
>> cups at cups.org
>> https://www.cups.org/mailman/listinfo/cups
> 
> _________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
> 
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups




More information about the cups mailing list