Skip to main content
Participating Frequently
December 26, 2008
Question

This PostScript file was created from an encrypted PDF file.

  • December 26, 2008
  • 6 replies
  • 51728 views
I have a postscript file which has been created from secure or encrypted (opening restriction) pdf.

Now when i use distiller to convert this postscript file to pdf then distiller cannot produce a pdf file.

The log file contains following text:
This PostScript file was created from an encrypted PDF file.
Redistilling encrypted PDF is not permitted.
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%

1) Is there a way to convert this postscript file into pdf ?
I have a limitation that i cannot remove security from secure pdf.

2) Do distiller provide any settings which can be changed to convert
this kind of ps(from secure pdf) to pdf.

3) Can we provide password to distiller during process of conversion to
pdf.

4) If above methods do not work then is there a way we can
programatically use Distiller Api's for conversion of postscript (in case
of postscript created from secure pdf) to pdf
Like methods 'FileToPdf' etc.

Thanks in advance.
    This topic has been closed for replies.

    6 replies

    Participant
    December 16, 2010

    Hello All,

    If i can print via printers, how come I cannot print ADF.  This does not make sense.  I hate to do extra jobs for printing and then scanning this copy for the new attachment so that it would not have encrypted PDF issue.

    Any resolutions?

    Thanks,

    Michael

    Bernd Alheit
    Community Expert
    Community Expert
    December 16, 2010
    If i can print via printers, how come I cannot print ADF.

    What is ADF ?

    Participant
    December 16, 2010

    Typo: PDF

    Thanks,

    Michael

    Michael L. Dick, Management Assistant,

    Business Mgmt & Multimedia Office

    DLA Installation Service at Columbus

    Phone: 866-749-6040

    Fax: 614-692-3390

    Bernd Alheit
    Community Expert
    Community Expert
    December 29, 2008
    > 2) However if after removing security we save pdf and then create postscript, then from that ps pdf can be created.

    That is correct. Before saving the file the security is still there.

    Why did you this workflow (PDF -> PS -> PDF) ?
    Participant
    May 12, 2010

    I am facing a similar problem.

    My workflow dictates that I convert the input PDF job initially to PS and finally back to PDF. If the input PDF file is secure (it's not encrypted - you will still be able to open the document), the redistillation of PS to PDF fails while using Normalizer 6.0 && 9.0 libraries. If I use Normalizer 505 library, the redistillation succeeds. I have checked with the same generated PS on both Distiller 6.0 && 9.0, and both the versions fail to reconvert as well. I am a little surprised that 6.0 and 9.0 will fail to do something that 505 library manages.

    Any suggestions?

    Participating Frequently
    December 29, 2008
    1) In case we open the PDF, remove the security and go through the PS creation without saving the file then the ps could not be redistilled to pdf.The error message in log file is "This PostScript file was created from an encrypted PDF file. "

    2) However if after removing security we save pdf and then create postscript, then from that ps pdf can be created.

    3) My workflow doesn't allow me to manually remove security from document. Is there any other way (by passing password as argument to create pdf)?
    Inspiring
    December 26, 2008
    If you have the security code you are not breaking the security. I would open the PDF, remove the security and go through the PS creation. You do not need to save the file after you remove security, it is only for the PS creation. Since you are trying to create a new PDF for some reason, you could simply copy or remove the security and print to the Adobe PDF printer. I assume there is some other reason that you want the PS version since it appears that you are not really doing anything that can not be done by just copying the PDF. I don't know if you want to address that work flow or not, but thought I would mention it. It just looks like you are going in a circle.
    Participating Frequently
    December 26, 2008
    Thanks Bill,

    I am ok, even if security is not removed from pdf.
    Like i said earlier is there a way we can prompt user for password
    while distilling the pdf or passing password to distiller while conversion to pdf is being done.

    I guess in above scenario i am not breaking the security.
    Inspiring
    December 26, 2008
    You can not do anything with the file using Acrobat unless you can change the security. If you could, then the security would be worthless. Sorry.