[gs-devel] Ubuntu Gutsy does not print secured PDFs via Acroread
and Ghostscript
Marcos Woehrmann
marcos.woehrmann at artifex.com
Tue Dec 4 11:16:37 PST 2007
Till,
We've found a workaround for the Ghostcript not being able to print
secured PDFs bug.
If when calling Ghostcript you replace the ' - ' argument with ' -_ '
this forces buffered reading of the input stream and allows the file
to print.
Here's a diff -c example:
*** LaserJet-6MP-foomatic.ppd.old Tue Dec 4 11:04:07 2007
--- LaserJet-6MP-foomatic.ppd Tue Dec 4 11:13:52 2007
***************
*** 95,101 ****
*FoomaticIDs: HP-LaserJet_6MP hpijs
*FoomaticRIPCommandLine: "gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPA&&
USE -sDEVICE=ijs -sIjsServer=hpijs%A%B%C -dIjsUseOutputFD%Z -sOutputFi&&
! le=- -"
*End
*FoomaticRIPOption Model: enum CmdLine A 100
--- 95,101 ----
*FoomaticIDs: HP-LaserJet_6MP hpijs
*FoomaticRIPCommandLine: "gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPA&&
USE -sDEVICE=ijs -sIjsServer=hpijs%A%B%C -dIjsUseOutputFD%Z -sOutputFi&&
! le=- -_"
*End
*FoomaticRIPOption Model: enum CmdLine A 100
I realize this is not a trivial fix, since there are many .ppd files
that will need to be changed, but it's the best we can do at the
moment.
marcos
On Nov 27, 2007 1:47 PM, Till Kamppeter <till.kamppeter at gmail.com> wrote:
> Ralph Giles wrote:
> > On Tue, Nov 27, 2007 at 12:34:26PM +0000, Till Kamppeter wrote:
> >
> >>> There are ~200 revisions between 8187 and the released 8.61. I did find
> >>> three possible patches, one relating to PDF 1.5 security, one relating
> >>> to PDF 1.6 security (128-bit AES), the other to potentially invalidly
> >>> secured PDF files.
> >> https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/145772
> >> http://www.adobeforums.com/webx?128@@.3c0564a2
> >
> > Till, if you have test files, it's straightforward to run
> > search-svn-revs (found in gs/toolbin) to locate a particular
> > change. If that doesn't work for you, please open a bug and
> > Marcos can do it.
> >
> > -r
> >
>
> Here is another one:
>
> http://www.berlin.de/imperia/md/content/sen-bildung/schulorganisation/lehrplaene/sek2_informatik.pdf
>
> Error output of Ghostscript is here:
>
> https://bugs.launchpad.net/bugs/172264
>
>
> Till
> _______________________________________________
> gs-devel mailing list
> gs-devel at ghostscript.com
> http://www.ghostscript.com/mailman/listinfo/gs-devel
>
--
Marcos H. Woehrmann marcos.woehrmann at artifex.com
More information about the gs-devel
mailing list