Secure Global Desktop Administration Guide > Applets > setPrinterName (print applet)

setPrinterName (print applet)

Syntax

boolean setPrinterName(string name)

Description

The setPrinterName method lets you set the client device's printer name.

setPrinterName reports success or failure by returning true or false.

Examples

setPrinterName("public_printer");

Sets the client device's printer name.

Related topics