Print Button via Javascript with Acknowledgement Popup Box
Good morning! I am creating a PDF document that will be fillable through Reader, and there will be several buttons that are programmed with JavaScript to send the document to a different printer depending on the need. My goal is to create a quick way to send these documents with one or two clicks, and no involvement from the user on which printer they need to choose.
This code in brackets [var pp = this.getPrintParams();pp.interactive = pp.constants.interactionLevel.automatic;pp.printerName = "PRINTER NAME";this.print(pp);] works great for sending it to the specified printer, I just make a quick modification to the printer name and VOILA! However, there is no feedback to the user that the document did indeed print. It would be nice to have that feedback before they clear the form and start on the next task.
So my question is this: is there a way to have the above code run, then to run another code that pops up a simple "Hey, that thing printed correctly!" after confirming it did indeed print? Is this possible with JS? Thank you in advance for your help!
