FORMS DESCRIPTION LANGUAGE
XEROX DOCUPRINT 96/DOCUPRINT 96MX LPS FORMS CREATION GUIDE 3-9
LANDSCAPE/PORTRAIT command
Specifying page orientation
and virtual page size
The LANDSCAPE/PORTRAIT command tells the system the
orientation of the form.
LANDSCAPE A LANDSCAPE form is oriented horizontally (like most paintings or
photographs of landscape scenes).
PORTRAIT A PORTRAIT form is oriented vertically (like most portraits of
people).
The LANDSCAPE/PORTRAIT command also specifies the virtual
page size and origin of the form.
The format of the LANDSCAPE/PORTRAIT command is as follows:
n virtual page width
m virtual page height
Example:
LANDSCAPE;
• Page width and height values must be positive numbers and
may contain two decimal places for all units except dots.
Centimeters may be expressed as CM. The default is inches.
• If neither the LANDSCAPE nor the PORTRAIT command is
used, landscape orientation is assumed.
• If no PAGE SIZE parameter is specified, virtual page size
defaults to the paper size specified in the PAPER command;
otherwise it defaults to the sysgen-defined paper size. The
virtual page origin is therefore located at the upper left corner of
the physical page.
• If a PAGE SIZE parameter is specified, a virtual page of that
size is centered relative to the paper. The virtual page origin is
at the upper left corner of the centered virtual page.
• Only one LANDSCAPE or the PORTRAIT command is allowed
in a form description. If specified, the command must precede
the GRID, BOX, LINE, LOGO, and TEXT commands, described
later in this chapter.
PAPER [SIZE] [IS] n [WIDE][BY] m
LANDSCAPE
PORTRAIT
DOTS
XDOTS
INCH[ES]
CM
CENTIMETERS
;[HIGH][HIGH]DOTS
XDOTS
INCH[ES]
CM
CENTIMETERS