24 Replies Latest reply on Jun 17, 2008 5:02 AM by Patrick Leckey

    Batch Conversion of PDF to Postscript

      I've been trying write a script for Batch conversion of PDF to PS files, using "silent" printing. I'm apparently missing something, because acrobat keeps crashing after executing the script (and the .ps files are not being created). Its also still prompting me for a filename. Not really sure of the syntax for keeping the same filename? I'm new to java script, so I'm sure its something I have wrong. My code is below, if anyone can help me out. I'm using Acrobat 7.0.9

      this.print ({bUI: false,bSilent: true,bShrinktoFit: true,});
      var pp = this.getPrintParams();
      pp.interactive = pp.constants.interactionLevel.automatic;
      pp.printername = "Xerox Docuprint 92C NPS PS2 C1";
      pp.filename = "c:\temp\$filename$.ps";