The following minimal working example that embeds a film in a pdf:

text={Anything here}]{10cm}{10cm}%

does not work in the dvi - ps- Distiller route. It compiles in latex, produces ps, but Distiller says:

Distilling: minworkex.ps

%%[ Error: undefinedfilename; OffendingCommand: file ]%%



%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%
Distill Time: 0 seconds (00:00:00)
**** End of Job ****

To show that nothing obvious is wrong, I add that the pdf is produced correctly if I change the filename to relative and use ps2pdf instead of Distiller.

Any help would be greatly appreciated! I would like to produce my free downloadable textbook with Distiller in the next edition.

P.S. I know that movie15 is obsolete, but for the time being it seems hard to change the many types of code for the dozens of movies in the tex source.


File reading and writing commands in Postscript are considered "unsafe" by current Ghostscript and Distiller versions and produce an error during PS-to-PDF conversion. This default behaviour can be overridden using specific commandline options when running these programs:

acrodist /F ...
ps2pdf -dNOSAFER ...



| improve this answer | |
  • What is the exact command? So far, I use open -a "/Applications/Adobe Acrobat XI Pro/Acrobat Distiller.app" /Users/christoph/Desktop/BLF/minworkex.ps Where does the /F go? – Motion Mountain Jun 10 '16 at 3:54
  • On my OSX, the command acrodist does not work. There is also no such Option in the Distiller app to be clicked... The manual says to use "Apple Mac OS: AllowPSFileOps user preference" How does one do that? – Motion Mountain Jun 10 '16 at 4:00
  • As I found out, on OSX, /F or -F is realized by using the "AllowPSFileOps user preference". It requires to edit the plist file. Thank you! – Motion Mountain Jun 11 '16 at 11:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.