Status Property



 
The Status property contains the job status.


Syntax

    [long=] SiteKiosk.Printer.Printers.Item(index1).Jobs.Item(index2).
            Status
    
Possible Values
    Long value that retrieves the status.

    The property is read only.
Remarks
    StatusName should be checked prior to this member and, if StatusName is NULL, the status is defined by a combination of the following values:

    JOB_STATUS_PAUSED = 0x00000001
    JOB_STATUS_ERROR = 0x00000002
    JOB_STATUS_DELETING = 0x00000004
    JOB_STATUS_SPOOLING = 0x00000008
    JOB_STATUS_PRINTING = 0x00000010
    JOB_STATUS_OFFLINE = 0x00000020
    JOB_STATUS_PAPEROUT = 0x00000040
    JOB_STATUS_PRINTED = 0x00000080
    JOB_STATUS_DELETED = 0x00000100
    JOB_STATUS_BLOCKED_DEVQ = 0x00000200
    JOB_STATUS_USER_INTERVENTION = 0x00000400
    JOB_STATUS_RESTART = 0x00000800
    JOB_STATUS_COMPLETE = 0x00001000

    See JOB_INFO_2 (MSDN) for further information.
Examples
    The following example displays the status of the first available print job of the first available printer.

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

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

Back to top