OS/2 port of CUPS

Michael Sweet mike at easysw.com
Thu Nov 9 05:52:31 PST 2006


Paul Smedley wrote:
> ...
>> Binary vs. text mode on the stdin/stdout pipes?
> 
> That was my first guess too - however it doesn't seem to make any
> difference.  What mode should the stdin/out pipes be?  OS/2 will
> default to ascii.

They *must* be binary.

> If this was the problem I would expect imagetops to also fail - but
> this works perfectly.  Images are in binary format, ps is ascii.

The output from imagetops is ASCII and would not be affected by the
crazy default text mode.

> Is there a way I can check the output of imagetoraster to see that
> the raster generated is valid?

Yes, you can run imagetoraster to produce a raster image and use my
RasterView program (http://www.easysw.com/~mike/rasterview/) to look
at the results.

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




More information about the cups mailing list