boolean setPrinterName(string name)
The setPrinterName
method lets you set the client
device's printer name.
setPrinterName
reports success or failure by returning
true
or false
.
setPrinterName("public_printer");
Sets the client device's printer name.