0 Replies Latest reply on Jul 7, 2010 5:53 AM by John.Kordas

    JS  How to check pdfExportPresets

    John.Kordas Level 1

      I'm having a slight issue with a script that if a user sets the Adobe PDF Preset option to [Smallest File Size] prior to my script running it does not seem to overwrite it. Is there a way to check the preset and or change it prior to my pdfExportPreferences portion of the script?

       

      with(app.pdfExportPreferences){
      standardsCompliance = PDFXStandards.pdfx1a2001Standard; //1396912481: pdfx1a2001Standard; 1396922419: pdfx32002Standard


       


      //======Marks and Bleed
      cropMarks = true;
      bleedMarks = false;
      registrationMarks = true;
      colorBars = true;
      pageInformationMarks = false;
      //Default mark type.
      pdfMarkType = 1147563124;
      printerMarkWeight = PDFMarkWeight.P25PT
      pageMarksOffset = 5;
      //useDocumentBleedWithPDF = true;
      includeSlugWithPDF = true;


       


      bleedBottom = 5;
      bleedTop = 5;
      bleedInside = 5;
      bleedOutside = 5;
      }