Versions Compared

Key

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

...

ParameterDescription of FieldsCommentsDefault
Parm1 - Style<1> Width 8.5
 <2> Height 11
 <3> PapersizeSee OIPRINT_EQUATESLetter

Remarks

See the OIPRINT_EQUATES in the SYSPROCS table for more information on papersize equates.Note:

Note
Note that either the width and height, or the papersize, should be specified; if width and height are specified, papersize is ignored.

See also

Get_Printer PAGESIZE

Example

Code Block
/*The following example shows how to use the PAGESIZE message to specify the width and height of the page */
 
declare function Set_Printer
 
$insert OIPRINT_EQUATES
 
stat = Set_Printer("INIT") ;* Start printing
 
stat = Set_Printer("PAGESIZE", "8.5":@fm: "11")
 
* Print some text at top of the page
 
stat = Set_Printer("TEXT","This will print on 8.5x11 paper")
 
stat = Set_Printer("TERM") ;* End printing