GetJob Method



 
The GetJob method returns a print job by ID.


Syntax

    [obj=] SiteKiosk.Printer.Printers.Item(1).GetJob(ID)
    
Parameters
    ID Long value that specifies the job ID.
Return Value
    Returns a JobInfo object that provides information about the job.
Remarks
    None.
Examples
    The following example receives a print job object by ID.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    job1 = SiteKiosk.Printer.Printers.Item(1).Jobs.Item(1);
    job2 = SiteKiosk.Printer.Printers.Item(1).GetJob(job1.JobId);
    if (job1 == job2) alert("GetJob(ID) works.");
    </SCRIPT>
    

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

Back to top