Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterDescription of FieldsCommentsDefault
Parm1 – Orientation<1> Orientation

0=Portrait

1=Landscape

0

Example

 
Code Block
/*  The following example shows how to use the ORIENTATION message to change the orientation of the report. */
 
declare function Set_Printer
$insert OIPRINT_EQUATES
stat = Set_Printer("INIT") ;* Start printing
stat = Set_Printer("TEXT", "Portrait.")
 
*  Change margins to Landscape
stat = Set_Printer("ORIENTATION", 1)
stat = Set_Printer("PAGEBREAK")
stat = Set_Printer("TEXT", "Landscape.")
stat = Set_Printer("TERM") ;* End printing