Adobe distiller

Hi, I have a postscript file which is converting ps tp pdf. That was working fine with Adobe 7 but it does not produce pdf with adobe distiller 8.1..It works if I open distiller exe with -f from command prompt. Is there a way to give option in the file. The file is

/prun { /mysave save def
dup = flush
clear cleardictstack
mysave restore
} def
(//myPC/folder/ prun

Also can i specify output folder and file name in this script
Who is Participating?
APNFSSCConnect With a Mentor Commented:

From everything I read this is due to adobe introducing some new security settings in 8.1 and above which can be disabled using the F switch as you mention above.

F Switch

Enables or restricts files that can be accessed by PostScript
operators, depending on the version of Distiller. Typically, this
switch affects file embedding. Between Distiller 8.0 and 8.1, the
sense of this switch was reversed to address security concerns.
For Acrobat Distiller 8.1 and greater, the /F switch permits the
PostScript file operators unlimited file access.
Caution: Enabling unlimited file access can pose security
For Acrobat Distiller 5.0 through 8.0, the /F switch restricts
PostScript file operators to fonts, color profiles, and other system
resources needed for normal operation.
Regardless of the /F switch, all versions of Acrobat Distiller can
access fonts, color profiles, and other system resources needed for
normal operation.
priyanka_kothariAuthor Commented:

Thanks for the information. But my question still remains same. Can I specify this /F switch somewhere in my postscript.I don't want to manually open distiller
no you cannot that would negate the security restrictions adobe have put in.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.