Item Method



 
The Item method returns an item of the collection.


Syntax

    [obj=] SiteKiosk.Printer.Printers.Item(index)
    
Parameters
    index Long value that contains the item number to return.
Return Value
    Returns a PrinterInfo object that provides information about the printer.
Remarks
    Collection-index values are 1-based.
Examples
    The following example displays the number of jobs of the first available printer.

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

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

Back to top