cupsPrintFile() has no streaming equivalent?

Michael Sweet mike at easysw.com
Fri Feb 23 14:50:36 PST 2007


mike wrote:
> ...
> after finally figuring out that the http code automatically does chunked
> transfer encoding when HTTP_FIELD_TRANSFER_ENCODING is set to "chunked",
> i've got a diff against cups-1.2 that implements cupsPrintStream.
> please test it out for me and let me know what you think!

Looks reasonable - can you post this as a feature request on the CUPS
site:

     http://www.cups.org/str.php

FWIW, you can also set chunked encoding by calling
httpSetContentLength() with a length of 0.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups-devel mailing list