[cups.general] Creating a policy based on print job description

alet at librelogiciel.com alet at librelogiciel.com
Thu Sep 11 23:44:34 PDT 2008


On Fri, Sep 12, 2008 at 04:16:55PM +1200, henri wrote:
> Have you looked at Tea4Cups it may be able to pull this data from the  
> print job.
> 
> I am not 100% positive on whether this is supported, you should  
> defiantly check it out.
> Jeromé may see your message and be able to offer a more definitive  
> answer regarding support of print job definition extraction.

With Tea4CUPS several job attributes will be made available to your
own scripts through environment variables, but not all IPP attributes
are currently exported.

If you know Python you may want to give a look at pkipplib available
from http://www.pykota.com/software/ and which is a pure python IPP
and CUPS API, allowing you to retrieve any IPP attribute.

bye

Jerome Alet







More information about the cups mailing list