printerControl
Description
Represents the ability to determine a range of printer properties and control the print queue for the printer. Only the exact printer name strings as they appear on Internet Explorer's Print dialog can be specified. If the string does not exist or is written incorrectly then an error will be thrown (e.g. “The printer name is invalid”).
Syntax
oControl = factory.printing.printerControl(sPrinterName)
Licensed properties
attributes, Bins, Forms, isLocal, isNetwork, isShared, Jobs, location, name, port, serverName, shareName, status
Licensed methods
Example
function networkServer() {
var oControl = factory.printing.printerControl(factory.printing.currentPrinter);
if ( oControl.isNetwork )
alert("The current printer is on the network server: " + oControl.serverName);
}