Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

PDF from PostScript with run command


Former Community Member


Consider the following, 3-line PostScript file:


(c:\\alphabet.ps) run

%  End of file.

When using the PDF Generator's Create PDF service using the very same PostScript file (via Administration Console), the corresponding log file yields the following:

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



%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%

%%[ Warning: PostScript error. No PDF file produced. ] %%

Also consider that the alphabet.ps file is, in fact, in the server's C drive, and is thus in the correct location.

Several Google searches reveal to me that this is actually a fairly common issue. Users running Acrobat Distiller require the /F switch in order to access external files via PostScript's run command.

Is there such a switch (or equivalent) for PDF Generator? Is there any sort of way that I can force PDF Generator to accept run commands?

Thank you in advance.

1 Reply


Level 3

You could try using the more usually correct PostScript form (c:/alphabet.ps). Also try using a subfolder, the root drive may be especially protected. No idea about the /F switch, etc, sorry - just general PostScript advice. It is best to rework to avoid filesystem access completely.