

Set MyDocHeight to ((height of bounds of page 1) as millimeter units) as real Set MyDocWidth to ((width of bounds of page 1) as millimeter units) as real Set up the front Quark document for printing to postscript files Launch application "Acrobat Distiller 7.0" If not (exists process "Acrobat Distiller 7.0") then Launch application "Adobe Acrobat 7.0 Pr#2CB915" If not (exists process "Adobe Acrobat 7.0 Pr#2CB915") then Check for application processes and launch as quietly as possible Set Logs_Folder to Process_Folder & "Logs:" as string Set PDF_Folder to Process_Folder & "Out:" as string Set PS_Folder to Process_Folder & "In:" as string set Process_Folder to (path to desktop from user domain) & "Press PDF's:" as string Im currently at a mental block with using Acrobat & JavaScript for the printing at the end but thats another story to which I may post and see if any body can help me with. Here is an example where im up to with this workflow. Then i just have the script generate strings for the files that should be produced. I use a similar system of a desktop folder with subs “in”, “out”, “logs” and all my Acrbat job.options. Matt-boy, I have long since stopped bothering with Acrobats watched folders. If adobePDFSettingsPath is not specified the default is used (the one selected in the UI). – Optional POSIX path to the Adobe PDF Settings file. SourcePath Unicode text – Required POSIX path to the input file (for example “/hello.ps”). If desinationPath is not specified the PDF will be generated in the same folder as the source file. – Optional POSIX path to the output file (for example “/hello.pdf”). Anyone have any ideas?ĭistill reference – the object for the command

Here is what the Acrobat dictionary says. Seems like you should be able to use the “Distill” command instead of “Open”.

My question is, if I have different scripts that require PDFs created with different Distiller settings (“Standard” as opposed to “High Quality Print” for example), is there a way to specify which setting to use in the script? The dictionary makes it seem possible although I can’t figure it out from there. It just occurred to me that Distiller is scriptable so I can just add a command for Distiller in my script instead of relying on a hot folder. I have been creating PDFs from Quark documents by printing to a.
