Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

PDF from PostScript with run command

Avatar

Avatar
Level 1
miguel_lopes_ma
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
miguel_lopes_ma
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
miguel_lopes_ma
Level 1

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)

Avatar

Avatar
Boost 1
Level 1
Test_Screen_Nam
Level 1

Likes

2 likes

Total Posts

44 posts

Correct Reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile

Avatar
Boost 1
Level 1
Test_Screen_Nam
Level 1

Likes

2 likes

Total Posts

44 posts

Correct Reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile
Test_Screen_Nam
Level 1

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.