Attributes Property



 
The Attributes property contains the printer attributes.


Syntax

    [long=] SiteKiosk.Printer.Printers.Item(index).Attributes
    
Possible Values
    Long value that retrieves the attributes.

    The property is read only.
Remarks
    Possible attributes are combinations of the following values:

    PRINTER_ATTRIBUTE_QUEUED = 0x00000001
    PRINTER_ATTRIBUTE_DIRECT = 0x00000002
    PRINTER_ATTRIBUTE_DEFAULT = 0x00000004
    PRINTER_ATTRIBUTE_SHARED = 0x00000008
    PRINTER_ATTRIBUTE_NETWORK = 0x00000010
    PRINTER_ATTRIBUTE_HIDDEN = 0x00000020
    PRINTER_ATTRIBUTE_LOCAL = 0x00000040
    PRINTER_ATTRIBUTE_ENABLE_DEVQ = 0x00000080
    PRINTER_ATTRIBUTE_KEEPPRINTEDJOBS = 0x00000100
    PRINTER_ATTRIBUTE_DO_COMPLETE_FIRST = 0x00000200
    PRINTER_ATTRIBUTE_WORK_OFFLINE = 0x00000400
    PRINTER_ATTRIBUTE_ENABLE_BIDI = 0x00000800
    PRINTER_ATTRIBUTE_RAW_ONLY = 0x00001000
    PRINTER_ATTRIBUTE_PUBLISHED = 0x00002000
    PRINTER_ATTRIBUTE_FAX = 0x00004000

    See PRINTER_INFO_2 (MSDN) for further information.
Examples
    The following example displays the attributes of the first available printer.

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

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

Back to top