This sets up the dimensions of the paper to be used.

PAPER="t"

where paper type 't' takes one of these values:

 

width x height

t

mm

inches

A0

841 x 1189

(33.1 x 46.8)

A1

594 x 841 

(23.4 x 33.1)

A2

420 x 594 

(16.5 x 23.4)

A3

297 x 420 

(11.7 x 16.5)

A4

210 x 297 

( 8.3 x 11.7)

A5

148 x 210 

( 5.8 x 8.3 )

A6

105 x 148 

( 4.1 x 5.8 )

A7

 74 x 105 

( 2.9 x 4.1 )

executive

(184 x 267) 

7.25 x 10.5

letter

(216 x 279) 

8.5 x 11 

legal

(216 x 356) 

8.5 x 14 

ledger

(432 x 279) 

17 x 11

The default value of 't' is "A4".

E.g.

PAPER="LETTER"

Alternatively, specify the width and height of the paper:

PAPER="width,height"

e.g.

PAPER="8.5,11"

Use ORIENT to define the orientation of the paper. Using orientation as a second parameter of the paper attribute, e.g. PAPER="LETTER,P" is deprecated.

TEXT element example

Links:

ORIENT

PAPER

UNITS

Paper types