OnChangedPrinter Event



 
Fires when a printer property changed.


Syntax

    SiteKiosk.Printer.OnChangedPrinter = handler
    
Parameters
    printer PrinterInfo object that contains the printer that changed.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example displays the name of the printer that changed.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Printer.OnChangedPrinter = OnChangedPrinter;
    function OnChangedPrinter(printer)
    {
       alert("Printer changed: " + printer.PrinterName);
    }
    </SCRIPT>

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

Back to top