boolean setPrinterPort(String port)
The setPrinterPort
method lets you set the client
device's printer port.
setPrinterPort
reports success or failure by returning
true
or false
.
Note This method has no effect on UNIX systems.
setPrinterPort("\\brussels\tta");
Sets the printer port to the Windows printer \\brussels\tta (this applies only to client devices running Microsoft Windows).