Delete Method



 
The Delete method deletes the job.


Syntax

    [bool=] SiteKiosk.Printer.Printers.Item(index1).Jobs.Item(index2).
            Delete()
    
Return Value
    Returns a Boolean value that indicates whether the function succeeded.
Remarks
    This function is valid if IsWaiting is true.
Examples
    The following example deletes the first print job of the first available printer if it is waiting for a command.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    if (SiteKiosk.Printer.Printers.Item(1).Jobs.Item(1).IsWaiting)
    SiteKiosk.Printer.Printers.Item(1).Jobs.Item(1).Delete();
    </SCRIPT>
    

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

Back to top