printerName

Reports the name of the currently selected printer.

# Metadata

Platforms: desktop, server OS: mac, windows, linux Introduced: 2.9 Security: printing

# Syntax

set the printerName to string

# Examples

set the printerName to "PostScript Printer"

if the printerName is not empty then enable button "Print" of me end if

# Description

Use the printerName property to determine or set the printer that will be used by LiveCode.

Setting the printerName to empty will reset the printer to the system default, and all printer settings to the default for that printer.

To have an effect, this property must be set before calling open printing.

# Tags

# See

- **command:** open printing, answer printer - **function:** result - **property:** printTitle