[cups.development] How to find out end of file in raster format

Michael Sweet msweet at apple.com
Sun Dec 6 21:04:50 PST 2009


On Dec 6, 2009, at 6:41 PM, solomon wrote:
> ...
> *buffer =3D malloc
> 
> here what do you mean is it variable?


Um, yeah.  The size of the line depends on the current resolution, color mode, and page size. Technically you could hardcode a maximum size buffer in your driver, however we don't recommend it.

___________________________________________________
Michael Sweet, Senior Printing System Engineer







More information about the cups mailing list