[cups.development] Talk to printer before a job in CUPS model

Michael Sweet msweet at apple.com
Sat Jul 16 20:39:00 PDT 2011


On Jul 14, 2011, at 9:08 PM, keens312 wrote:
> 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?

Don't use a port monitor?

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair





More information about the cups-devel mailing list