Solved

Adobe distiller

Posted on 2011-03-11
3
799 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Scroll through PDF files 2 277
Adobe Products Forum? 3 147
Convert SVG to PDF 5 79
Print to Adobe - display/open printed page 3 51
Acrobat’s JavaScript is a great tool to extend the application, or to automate recurring tasks. There are several ways a JavaScript can be added to the application or a document (e.g. folder level scripts, validation scripts, event handling scripts,…
Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe INTRODUCTION This Article is a follow-up to the Article entitled How To Rename-Move a Batch of PDF Files Based o…
In this third video of the Xpdf series, we discuss and demonstrate the PDFtoText utility, which converts PDF files into plain text files. Download and install the software.: You may have already downloaded and installed the Xpdf tools while watching…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

930 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now