Navigation: Javascript API > Events for user dialogs
OnPrint
Scripts and functions defined here are executed when a print preview of a dialog is loaded.