stdin rasterdata

Ganesh ganeshcm at gmail.com
Thu Nov 12 22:43:50 PST 2009


Hi,

I want to verify the rasterdata which comes in to my filter.
Is there any way to see the rasterdata in my filter ?
(apartfrom cupsfilter command).

Regards
Ganesh



> If you are using both fgetc and cupsRasterReadHeader2/Pixels, that is
> the problem. You can only read the data once from stdin...
>
> On Nov 12, 2009, at 8:36 PM, Ganesh wrote:
>
> > 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
> >>
> >>
> >>
> >
> > _______________________________________________
> > cups-ddk mailing list
> > cups-ddk at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups-ddk
>
> ___________________________________________________
> Michael Sweet, Senior Printing System Engineer
>
>
>





More information about the cups mailing list