Description

Use PAPERSIZE to print reports to a specific papersize.

Syntax

PAPERSIZE size

Remarks

PAPERSIZE has the following parameter:

ParameterDescription
sizeOne of the valid papersizes defined in the insert record OIPRINT_Equates. The Papersize also must be a valid papersize for the printer used.

Example

* Print the report to legal paper
 
stmt = 'List CUSTOMERS ID-SUPP COMPANY ADDRESS1 ADDRESS2'
stmt:= ' CITY STATE ZIP PHONE GRID LANDSCAPE LEGAL'
stmt:= ' PAPERSIZE 5'
 
Run_Report("",stmt)
  • No labels