CUPS - identify the impression jobs

Helge Blischke h.blischke at acm.org
Thu Dec 31 16:26:51 PST 2009


Lippera Gustavo wrote:

> Hello everybody
> 
> I need your help, I am installing and configuring CUPS 1.3.7
> 
> I created 5 virtual print devices and I can print from other servers in
> these devices
> 
> The problem is:
> 
> I need to execute some programs depending on the print device where you
> carry out the impression.
> 
> In others systems, for example LPD or LPRG, each print device has a
> different path spool, and it facilitates the process of identifying the
> impression jobs.
> 
> In CUPS all the impression jobs arrive to the same path spool and I can't
> identify in which device the print was executed.
> 
> I need to know if you have any configuration paramethers or some external
> program or command line, to identify the impression jobs in the CUPS path
> spool, so I can execute the corresponding program.
> 
> Thanks for all

Perhaps the attached Perl script, installed as a CUPS backend with 
permissions 0700, might satisfy your needs. Read the comments at the 
beginning of the script (currently there is no more documentation), and ask 
me, if needed, under "h dot blischke at acm dot org".

Helge


-------------- next part --------------
A non-text attachment was scrubbed...
Name: prtofile
Type: application/x-perl
Size: 12614 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20091231/375c0cb0/attachment.bin>


More information about the cups mailing list