How to get backchannel file descriptor

Michael R Sweet msweet at apple.com
Tue Aug 19 08:35:53 PDT 2008


keens312 wrote:
> Hi Michael,
> 
> In the filter for backchannel, I created a thread to keep reading feedback from printer...
> 
> On OSX 10.5, CUPS has created backchannel FDs for USB and Network backends.
> 
> The question is how to get the correct file descriptor in filter?

Use the supplied API: cupsBackChannelRead.  The file descriptor itself
is #3.

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups-devel mailing list