stdin rasterdata

Ganesh ganeshcm at gmail.com
Thu Nov 12 20:36:06 PST 2009


HI,

I am using normal file copy (fgetc and fputc logic).
If I open that file in the RasterViewer . It shows the error like
CupsRasterOpen( ) failed . And If I open the file in the vim. I could not see the '3SaR' File header. What I am doing wrong ?

Regards
Ganesh


> On Nov 12, 2009, at 4:14 AM, Ganesh wrote:
> > Hi,
> >
> > If I Print the 'stdin' content to a external file in my filter. The
> > file content is not exactly same as the raster format. I have used
> > cupsRasterReadHeader2() and cupsRasterReadPixels( ) APIs. Where I am
> > doing wrong ? Is there any way to see the rasterdata in my filter.
>
>
> How are you copying the content to the file?
>
> What differences are you seeing?
>
> ___________________________________________________
> Michael Sweet, Senior Printing System Engineer
>
>
>





More information about the cups mailing list