This content has been marked as final. Show 6 replies
Those presets are located in Windows:
C:\Documents and settings\All Users\Application Data\Adobe\Adobe PDF\Settings
Library > Application Support > Adobe > Adobe PDF > Settings
var pdfPresets = app.pdfExportPresets.item(4);
**This is how I pick the preset using the corresponding item number because I have had problems in the past doing it other ways.
Then pass this variable as an argument during the export call like so:
myDocument.exportFile(ExportFormat.pdfType, new File("new.pdf"),pdfPresets);
This will make InDesign Server use those presets when it does the export. You can create new presets using InDesign then copy the joboptions file to the Setting directory and the new presets are now ready to use in InDesign Server.
Thanks for the answer, but I don't want to use the PDF presets. I need the import presets for DOC documents. When placing word files and selecting the option "Show import options" you can save and select presets, but I don't know which API method has to be called to read them out.
Sorry Peter I don't know how to do that.
No problem, thanks anyway. Maybe there is someone who knows... :)
In article <firstname.lastname@example.orgNXanI>,
> I need the import presets for DOC documents.
They're not exposed to scripting (either in Server or normal ID).
To add PDF Presets:
set myApp = CreateObject("InDesignServer.Application.CS3")
- run this only once.
- PDFPresetName.jojptions should include the full path
myDoc.Export "Adobe PDF", "FullPath PDF Name", myApp.PDFExportPresets.Item("[PDFPresetName]")