var savefile=new File("~/Desktop/exp.eps"); var epsOpt = new EPSSaveOptions(); epsOpt.embedAllFonts = true; app.activeDocument.saveAs(savefile, epsOpt);