XPRINT SET ORIENTATION statement

Purpose

Set the paper orientation for a host printer page.

Syntax

XPRINT SET ORIENTATION orent&

Remarks

XPRINT SET ORIENTATION sets the orientation of the paper in the host printer.  The value 1 indicates portrait mode, while 2 indicates landscape mode.  If a host printer is not attached, or does not support setting the orientation, error 57 is generated.

See also

XPRINT ATTACH, XPRINT GET ORIENTATION