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.
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.
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)?
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) ?