ServerName Property



 
The ServerName property contains the name of the server controlling the printer.


Syntax

    [str=] SiteKiosk.Printer.Printers.Item(index).ServerName
    
Possible Values
    String that retrieves the server name.

    The property is read only.
Remarks
    If this string is NULL, the printer is controlled locally.

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

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

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

Back to top