PDA

View Full Version : PDF Creation Failed -21


roundhillmark
03-28-2008, 06:55 AM
What does this mean, and how do you fix it?

I have a pdf file open in Acrobat 8.1.2 and have primopdf setup as a printer.
When I try to print to primopdf I get the -21 error.

Any ideas?

Thanks,
Mark

Jason.Stockett
03-28-2008, 08:12 AM
please post a link to the file if possible and a full description of the error (screenshot prefered). In order to get more information on the error you could turn on the debugging (in the options button). The log file should be found in C:\Program Files\activepdf\PrimoPDF. The filename will be labled with the name of the file you converted along with "_conversion.log" attached to the end.

roundhillmark
03-28-2008, 11:55 AM
Redistilling encrypted PDF is not permitted - is that what is causing my error 21?


Log file:

Artifex Ghostscript 8.60 (2007-08-01)
Copyright (C) 2007 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusMonL-Regu font from %rom%lib/n022003l.pfb... 2535792 1187933 1891520 591023 1 done.
%%[ ProductName: Artifex Ghostscript ]%%
This PostScript file was created from an encrypted PDF file.
Redistilling encrypted PDF is not permitted.
Unrecoverable error: undefined in eexec
Operand stack:
--nostringval-- --nostringval-- quit
ps2pdf -sDEVICE=pdfwrite -dNOPAUSE -dNOSAFER -dPDFSETTINGS=/screen -dCompatibilityLevel=1.3
-sstdout=c:\Documents and Settings\mhardest\Local Settings\Temp\NGX_CRM_76_55NGX32_11_B_Conversion.l og -sOutputFile=c:\Documents and Settings\mhardest\Local Settings\Temp\tmp1139.tmp -c .setpdfwrite <</NeverEmbed [false .standardfonts aload pop]>>
setdistillerparams -f

Jason.Stockett
03-31-2008, 07:50 AM
That certainly looks like the problem. You can not process the file because it is encrypted. You would need to decrypt the file prior to processing it.