[cups.development] Is it possible to get the CUPS printer/queuename in to the job stream?

Johannes Meixner jsmeix at suse.de
Fri Oct 2 04:57:53 PDT 2009


Hello,

On Oct 2 04:47 Fred Heeks wrote (shortened):
> Basically, I have a number of CUPS print queues. Each of which
> send their print jobs to a raw socket, listening on a
> particular port. This listener takes the job data
> and parses it and then send it elsewhere.

I would add a selfmade filter to the CUPS print queues
(in your case preferably a "System V style interface script")
which prepends the job data with whatever information
your listener needs and let the listener read and cut
this information before it sends the job data elsewhere.

Regarding "add a selfmade filter"
http://en.opensuse.org/SDB:Using_Your_Own_Filters_to_Print_with_CUPS
might help you.


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex





More information about the cups mailing list