0 Replies Latest reply on Apr 20, 2010 11:39 PM by Adobe-InDesign CS4

    [CS4- JS-InD Server] - How to Load the Printer Preset - Reg.

    Adobe-InDesign CS4 Level 1

      Dear All,

       

      Here I load the Printer Preset from Local Machine and generete the "PS" to Local machine using "Stand Alone InDesign Application". Thjs is working fine.

      But I cant Load the Printer Preset from Local Machine using InDesign Server.

       

      I dont know where I done the mistake's,  Anybody can correct the below coding and let me know...

       

      //======================= Code =================================//

           app.importFile(ExportPresetFormat.printerPresetsFormat,"c:\\MyOwnPreset.prst");
          //=============================  PS Creation to Constant "OUT" Folder  ===============//
                           app.printerPresets.item("MyPreset").printFile = new File("C:\\+ "OUT\\" + app.documents.item(0).name.split(".indd")[0] + ".ps");
                           app.documents.item(0).print(false, app.printerPresets.item("MyPreset").name);

      //======================= End  : Code =================================//

       

      The above coding is working fine, in Stand alone machine, but not working in Server machine....

       

      Please anybody can help me in this problem and I will appreciate.....

       

       

      Thanks & Regards

      T.R.Harihara Sudhan

       

        

       

      Message was edited by: Harihara Sudhan