OnDeletedJob Event



 
Fires when a print job has been deleted.


Syntax

    SiteKiosk.Printer.OnDeletedJob = handler
    
Parameters
    printer PrinterInfo object that contains the parent printer of the deleted job.
    job JobInfo object that contains the deleted 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 deleted job.

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

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

Back to top