printerOutput

Reports what the destination of a print job should be.

# Metadata

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

# Syntax

set the printerOutput to {device | preview | fileSpec}

# Examples

set the itemDelimiter to ":" if item 1 of the printerOutput is "file" then set the hilite of button "Print To File" of group "Printer Settings" of me \ to true end if set the printerOutput to "device"

# Description

Use the printerOutput property to determine or change the destination of a print job.

Setting the printerOutput to an invalid value will result in a script execution error.

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

# Tags

# See