Skip to main content

printerOutput

Type​

property

Summary​

Reports what the destination of a print job should be.

Syntax​

set the printerOutput to {device | preview | fileSpec}
get the printerOutput

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.

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"

Value​

NameTypeDescription

value

enum

The printerOutput can be one of the following values. The default value depends on the printer driver

  • Windows Vista uses XPS format.
  • UNIX uses PostScript format.
  • Mac OS X uses PDF format.
  • Older Windows versions use a system-specific format.

command: open printing, answer printer

Compatibility and Support​

Introduced

LiveCode 2.9

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?