[gs-devel] Ubuntu Gutsy does not print secured PDFs via Acroread and Ghostscript

Till Kamppeter till.kamppeter at gmail.com
Wed Dec 5 15:37:09 PST 2007


Thank you very much. I have implemented the "-_" workaround in Ubuntu 
Hardy now, by patching /usr/bin/foomatic-gsrapper, 
/usr/lib/cups/filter/pstoraster, /usr/lib/cups/filter/pstopxl, and all 
/usr/bin/foo2*wrapper scripts from the foo2zjs driver suite. 
foomatic-gswrapper and the two CUPS filters I have also modified in the 
upstream repositories.

    Till

Marcos Woehrmann wrote:
> Till,
> 
> Buffered reading does not store the entire file in memory; Ghostscript
> reads the file in chunks of 1024 bytes.  Because of a requirement of
> Ghostview (and/or GSView and/or gv) buffered reading is disabled when
> using " - " with the shared object library.  The fact that Ghostscript
> can't read the PostScript files generated by acroread when reading is
> not buffered is something that we  plan to fix, but that bug is deep
> within some i/o stream code that apparently breaks if you even look at
> it funny so that's not going to happen quickly.
> 
> Ghostscript does not need random access to any PostScript file.
> 
> You are right, pstoraster would need to be patched as well; I'm not
> sure what to do about the other drivers.
> 
> marcos
> 
> On Dec 4, 2007 11:24 AM, Till Kamppeter <till.kamppeter at gmail.com> wrote:
>> Does Ghostscript need random access to the PostScript produces by the
>> new Adobe Reader?
>>
>>     Till
>>



More information about the gs-devel mailing list