OnDeletedPrinter Event



 
Fires when a printer has been deleted.


Syntax

    SiteKiosk.Printer.OnDeletedPrinter = handler
    
Parameters
    printer PrinterInfo object that contains the deleted printer.
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 has been deleted.

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

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

Back to top