I have a button that saves my form using the "Adobe PDF" print option. I think you need distiller to use that option and I need my form to work in reader. I use fields that I don't want to show in print, and I also don't want the code to be in the new PDF so I can't use the "Save As" option.
Is there an alternative that works in reader?
//Get the printParams object of the default printer var pf = this.getPrintParams(); var fv = pf.constants.flagValues; //Set properties pf.interactive = pf.constants.interactionLevel.silent; pf.pageHandling = pf.constants.handling.none; pf.flags |= (fv.suppressCenter | fv.suppressRotate | fv.setPageSize); pf.printerName = "Adobe PDF"; this.print(pf);
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com