Skip navigation
Currently Being Moderated

PDF Preset (joboptions)

Jul 20, 2009 9:04 AM

Hi,

 

Where do PDF Preset files or joboptions files need to be stored for InDesign CS3 Server to "see" them. Would InDesign Server need to be restarted to pick up changes to the Presets?

 

 

Thanks

 
Replies
  • Currently Being Moderated
    Jul 20, 2009 11:25 AM   in reply to simon@skemp.co.uk

    Hi Simon,

     

    i use the presets from InDesign. I change or edit the presets and use it with InDesign Server.

     

    Greetings Andi

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 21, 2009 8:44 AM   in reply to simon@skemp.co.uk

    Hi Simon,

     

    InDesign save a preset in the default Settings folder in the Adobe PDF folder. InDesign server looks into this Folder.

     

    Example:


    In InDesign:

     

    1. Choose File > Adobe PDF Presets > Define.
    2. Do one of the following:
        -    To create a new preset, click New. If you want to base the new preset on an existing preset, select the preset first. Set PDF options, and click OK.
        -    Or... To edit an existing custom preset, select the preset and click Edit. (You cannot edit the default presets.) Set PDF options, and click OK.

    If u click "OK", InDesign save a preset in the default Settings folder in the Adobe PDF folder. InDesign server looks into this Folder.
    3. Start or restart InDesign Server

     

    In your JavaScript ( i hope u use JavaScript) insert the lines:

     

    var result = new String;
    try {
    var myPDFExportPreset = app.pdfExportPresets.item("YourPresetName");
    app.documents.item(0).exportFile(ExportFormat.pdfType, File("~/Desktop/TestDocument.pdf"), false, myPDFExportPreset);
    } catch (err) {
    app.consoleerr (err.message);
    result = err.message;
    }

     

    That was it!

     

    Greetings Andi

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points