Given a PDF form with a document level script (shown below) that opens the print window when the form first opens, is there anyway to possibly intercept or close the print window programmatically using a folder level script?
document level script in question:
pp = getPrintParams(); fv = pp.constants.flagValues; pp.flags |= (fv.suppressCenter | fv.suppressRotate | fv.setPageSize); this.print(pp);
Thank you ahead of time
bUI: (optional) If true (the default), will cause a UI to be presented to the user to obtain printing information and confirm the action.
and bSilent to true (4th param of print()
bSilent: (optional) If true, suppresses the cancel dialog box while the document is printing. The default is false.
pp (in your ex.) being the last param (9th of print())