any way to get job priority from the commandline?

Paul Conklin paul.conklin at cerner.com
Tue Aug 23 08:04:39 PDT 2011


Thanks for the input, for right now i guess i'll have to settle on parsing job.cache, that has the info that i need in that and since i'm just grepping on it it shouldn't corrupt anything.  I'm still on 1.4.x so ipptool isn't an option for me at this point.  Thanks as always for your input.

> Sorry, I don't have any examples for the PHP stuff, and the Perl stuff never saw the light of day.
>
> All of the scripting source is going away in CUPS 1.6 because those bits have not been maintained in a *long* time. If you are looking for a supported scripting language to do this stuff, look at the Python binding that Tim Waugh/Red Hat maintains.
>
> On Aug 17, 2011, at 9:43 AM, Paul Conklin wrote:
>
> > looking through the Readme of the scripting/php test scripts, it looks like that could work, does that get installed as part of the RPM if you build it?  Any examples or anything you could provide?  last, but not least, the readme on the perl script appears to be a stub, is there any doc on it?
> >
> > Thanks.
> >
> >> I think the -l option to lpstat will show the priority, plus you can always use ipptool.
> >>
> >> Sent from my iPhone
> >>
> >> On Aug 9, 2011, at 4:38 PM, Paul Conklin <paul.conklin at cerner.com> wrote:
> >>
> >>> I know i can set it with either lp -q or change it with lp -i <job> -o job-priority=<###> but is there any way to see what it is?
> >>> _______________________________________________
> >>> cups mailing list
> >>> cups at easysw.com
> >>> http://lists.easysw.com/mailman/listinfo/cups
> >>
> >
> > _______________________________________________
> > cups mailing list
> > cups at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups
>
> ________________________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>





More information about the cups mailing list