OnChangedJob Event



 
Fires when a print job property changed.


Syntax

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

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Printer.OnChangedJob = OnChangedJob;
    function OnChangedJob(printer, job)
    {
       pName = printer.PrinterName;
       jID = job.JobId;
       alert("Job changed: " + jID + " of printer " + pName);
    }
    </SCRIPT>

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

Back to top