Skip navigation
Currently Being Moderated

v8.1.2 breaks my PStoPDF vba code

Jan 21, 2009 5:06 PM

I had a VBA excel macro that printed a number of individual pages to ps files (1 page per ps file) then created a master ps file ...

/prun { /mysave save def
dup = flush
RunFile
clear cleardictstack
mysave restore
} def
(C:/File1.ps) prun
(C:/File2.ps) prun

It then called distiller to convert this master ps file into a pdf file. It use to work perfectly until we upgraded to 8.1.2. Then I got bitten by the 'restricted folder access' issue ... now I get a log file that contains ...

%%[ Warning: Empty job. No PDF file produced. ] %%

http://www.adobe.com/devnet/acrobat/downloads/Acrobat_SDK_readme.html says I can over come this by using the -F command line option or using the temp folder. I am starting distiller via vba, not using a command line (to the best of my knowledge).

Questions:
1) How can I start distiller using the -F option via VBA?
2) Can I add the -F option to a joboption file?
3) Which 'temp' file is the read me talking about (I tried it in the %temp% directory and it failed too)?

BTW: I'm running Vista.
 

More Like This

  • Retrieving data ...

Bookmarked By (0)