var opt=new PDFSaveOptions(); opt.printerResolution = 350; var f=new File("~/Desktop/SamplePDF.pdf"); app.activeDocument.saveAs(f, opt);