Skip past navigation linksSecure Global Desktop Administration Guide > Applets > setPrinterName (print applet)

setPrinterName (print applet)

Syntax

Skip past command syntax or program codeboolean 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

Skip past command syntax or program codesetPrinterName("public_printer");

Sets the client device's printer name.

Related topics