3 Replies Latest reply: Jul 21, 2009 8:44 AM by A.Held RSS

    PDF Preset (joboptions)

    simon@skemp.co.uk

      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

        • 1. Re: PDF Preset (joboptions)
          A.Held Community Member

          Hi Simon,

           

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

           

          Greetings Andi

          • 2. Re: PDF Preset (joboptions)
            simon@skemp.co.uk Community Member

            Andi,

             

            Where do you save the InDesign preset so InDesign server can use them?

             

             

            Simon.

            • 3. Re: PDF Preset (joboptions)
              A.Held Community Member

              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