printPaperSize

Reports the size of the paper to print to.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 2.0 Security: printing

# Syntax

set the printPaperSize to width, height

# Examples

if tPaperSize is "A4" then set the printPaperSize to "595,842" end if

# Description

Use the printPaperSize to determine or set the size of the paper to print to. This size is the size of the physical paper before any scaling or rotation is applied.

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

# Tags

# See