OnPrinterActivityDetected Event



 
Fires when SiteKiosk detects a webbrowser print job.


Syntax

    SiteKiosk.Printer.OnPrinterActivityDetected = handler
    
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example displays an alert window when a webbrowser print job has been detected.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Printer.OnPrinterActivityDetected = OnPrActDetected;
    function OnPrActDetected()
    {
       alert("Webbrowser print job detected");
    }
    </SCRIPT>
    

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

Back to top