Click Print, then close the print dialog. onafterprint runs when the dialog closes — even if you cancel.
onafterprint
Lines: 0 | Characters: 0