Solved

Adobe distiller

Posted on 2011-03-11
3
811 Views
Last Modified: 2012-05-11
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
RunFile
clear cleardictstack
mysave restore
} def
(//myPC/folder/file.ps) prun

Also can i specify output folder and file name in this script
0
Comment
Question by:priyanka_kothari
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
APNFSSC earned 500 total points
ID: 35113235
Hi,

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
problems.
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.
0
 

Author Comment

by:priyanka_kothari
ID: 35137838
Hi

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
0
 
LVL 10

Expert Comment

by:APNFSSC
ID: 35142527
no you cannot that would negate the security restrictions adobe have put in.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

One of the questions I get asked again and again is how to validate a field value in an AcroForm with a custom validation script. Adobe provided a lot of infrastructure to do that with just a simple script. Let’s take a look at how to do that wit…
Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe A recent question here at Experts Exchange piqued my interest, so I decided to provide a thorough solution and publ…
In this second video of the Xpdf series, we discuss and demonstrate the PDFimages utility, which, in a single command, is able to extract all the images from a PDF file and save each one in a separate image file (PBM, PPM, or JPG). Download and inst…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question