Re: error printing secured PFS from Adobe Reader to virtual printer(PDFCreator)
On 30 nov, 14:53, JJ <sandokanfi...@gmail.com> wrote:
> Does anyone know the answer to the following question?
> Trying to print out a secure PDF file from Adobe Reader to a PDF file
> (with the open source program PDFCreator), I get a PDF file with the
> following text:
> ERROR: undefined
> OFFENDING COMMAND: eexec
> Does anyone know who is the culprit and how I can solve this problem?
> (Well, I do, and I will post the answer immediately hereafter, in
> order to contribute to newsgroups as a useful archive)
Don't use Adobe Reader!
The culprit is the (newer versions of) Adobe Reader. It has nothing to
do with the operating system or the version of Ghost you use. I
installed Foxit Reader from Foxit software, and from this program I
can correctly print secured PDFS to virtual printers. (Mind you, I
have no ties to Foxit, and I do neither recommend nor advise against
the use of their software).
Re: error printing secured PFS from Adobe Reader to virtual printer (PDFCreator)
"JJ" <email@example.com> wrote in message
> On 30 nov, 14:53, JJ <sandokanfi...@gmail.com> wrote:
> > Does anyone know the answer to the following question?
> > Trying to print out a secure PDF file from Adobe Reader to a PDF file
> > (with the open source program PDFCreator), I get a PDF file with the
> > following text:
> > ERROR: undefined
> > OFFENDING COMMAND: eexec
> > STACK:
> > /quit
> > -dictionary-
> > -mark
> > Does anyone know who is the culprit and how I can solve this problem?
> Don't use Adobe Reader!
> The culprit is the (newer versions of) Adobe Reader.
1. This advice is of limited value so far as the OP omitted
the version numbers of the software he complained about
(both OS and the app.)
2. Standard cure of problems like this is to uninstal the
software then reinstal it. The OP did not say whether
he had tried the standard cure.
there is a solution for this error (OFFENDING COMMAND: eexec) when printing a secured pdf to another pdf using PDFCreator.
the solution is to choose Encapsulated Post Script format when you are in the save as dialog in PDFCreator (choose EPS extension in the drop-down).
the trick here is to save one page at a time, because ghostview/gsview can only open EPS files - reliably - which have only one page
after that, install ghostview/gsview and ghostscript.
if you have PDFCreator, you already have ghostscript. you just need to install ghostview/gsview and go to menu > Options > Advanced Configure. In the field "Ghostscript DLL" you must paste the path to where gsdll32.dll is, typically (or similar to):
Below that, in "Ghostscript include path" add this at the end or the beginning, make sure entries are separated with a semi-colon:
After this is done, you can open the EPS file you created with PDFCreator... et voila!
Now you can print from gsview to PDFCreator to get a pdf (make sure you choose the PostScript Printer option when you print from gsview to PDFCreator).
once you have all the pages, you can join them into one document using pdftk (free software, google it!).
Last edited by justincase : 02-09-2012 at 03:57 PM.