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
  • Print applet
  • getPrinterName (print applet)