Talk to printer before a job in CUPS model

keens312 keens312 at hotmail.com
Thu Jul 14 18:08:40 PDT 2011


Hi Michael,

We can write to stdout and read from backchannel in filter as you said.
But port monitor has a read thread that will keep listening on backchannel.
There are two places to read backchannel feedback, one in filter, the other in port monitor.
So we have to sync them to avoid the race condition.
This sounds complicated.
Is there a better solution for this?
Keene




More information about the cups-devel mailing list