Progress
Results Administration
and Development Guide


Standard Page Formats

The results.l file contains several lines that define the standard page formats available for use in the report view of a query. Each line that defines a page format has the following syntax:

SYNTAX
page[integer]= "code[|code]..." 

The integer argument is a unique integer value that identifies the page format definition. The integers used to identify page formats must be sequential. The code parameter is a special code followed by a value that defines the page format. All codes specified for a page format must be enclosed within a single set of double quotes and must be separated using a vertical line ( | ). Table C–4 provides information about the different definitional codes for a page format.

Table C–4: Definitional Codes for Page Formats 
Code
Description
c=
Specifies a label for the page format. This label represents the format in Results. Must be a unique name.
d=
Specifies the width and height of the label in inches (in) or millimeters (mm). For example, 210 x 297 mm or 3-1/2 x 1 in. Separate the width and height values using an x. The width value must be first. Specifies fractional values by separating the numerator and denominator with a forward slash ( / ). If the fractional value is preceded by a whole number, separate the whole number from the fraction using a hyphen (-).
h=
Specifies the page height in lines.
w=
Specifies the page width in characters.

The following excerpt from the result.l file shows some page format definitions:

page[1]= "d=8-1/2 x 11 in|w=85|h=66|c=Letter" 
page[2]= "d=8-1/2 x 14 in|w=85|h=84|c=Legal" 
page[3]= "d=11 x 17 in|w=110|h=102|c=Tabloid" 
page[4]= "d=9-1/2 x 4-1/8 in|w=95|h=24|c=Envelope-#10" 
page[5]= "d=229 x 162 mm|w=90|h=38|c=Envelope-C5" 
page[6]= "d=220 x 110 mm|w=86|h=26|c=Envelope-DL" 
page[7]= "d=7-1/2 x 3-7/8 in|w=75|h=23|c=Envelope-Monarch" 
page[8]= "d=7-1/4 x 10-1/2 in|w=72|h=63|c=Executive" 
page[9]= "d=297 x 420 mm|w=117|h=99|c=A3" 
page[10]= "d=210 x 297 mm|w=82|h=70|c=A4" 
page[11]= "d=148 x 210 mm|w=58|h=49|c=A5" 
page[12]= "d=182 x 257 mm|w=71|h=60|c=B5" 
page[13]= "d=7-1/3 x 11 in|w=73|h=66|c=35mm-Slide" 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095