PDF from PostScript with run command

miguel_lopes_ma

06-10-2017

Greetings.

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 ]%%

Stack:

(c:\\alphabet.ps)

%%[ 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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Test_Screen_Nam

02-12-2017

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.