OnShowPrintDialog Event

Fires when the SiteKiosk print dialog is displayed.


    SiteKiosk.Printer.OnShowPrintDialog = handler
Parameters Return Value
    Must return a Boolean value that specifies whether to cancel the print request.
    Whether the largest frame is printed automatically, the standard Internet Explorer print dialog is displayed, or the SiteKiosk print dialog is displayed has been configured in the SiteKiosk Wizard.

    The object that caused the event can be referenced in the event function using "this".
    The following example prints 2 copies of the document that the user requested to print.

    <SCRIPT TYPE="text/javascript">
    SiteKiosk.Printer.OnShowPrintDialog = OnShowPrintDialog;
    function OnShowPrintDialog(SKBrowser, options)
       options.Copies = 2;
       return false;

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top