Kbase 16024: Adding a Standard Page Size to GUI Results
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
Adding a Standard Page Size to GUI Results
You can delete a report page size from the standard page
dialog box within Results. You cannot add a page size from
within Results. You must manually add the page size to the
.qc7 file with a text editor.
Finding the .qc7 file -
The .qc7 file will be named using the first 5 letters of
the logical name of the first database you connect to.
Results tries to put the .qc7 file in the directory
where the database lives. If Results cannot put it
there, it is put in you working directory. Once it is
generated, it can be moved to anywhere in your propath.
Open the .qc7 file with a text editor. Go to the section
that contains the page size definitions. The section looks
similar to the following:
page.size[1]= "d=8-1/2 x 11 in,w=85,h=66,c=Letter"
page.size[2]= "d=8-1/2 x 14 in,w=85,h=84,c=Legal"
page.size[3]= "d=11 x 17 in,w=110,h=102,c=Tabloid"
page.size[4]= "d=9-1/2 x 4-1/8 in,w=95,h=24,c=Envelope-#10"
page.size[5]= "d=229 x 162 mm,w=90,h=38,c=Envelope-C5"
page.size[6]= "d=220 x 110 mm,w=86,h=26,c=Envelope-DL"
You may add a definition to this section. The "d.." and
"c..." entries are for the description. The "w=xx" is the
width of the page in characters. The "h=xx" is the height in
lines. A standard 8 and 1/2 by 11 page, using a fixed font
size=12, is 85 characters wide and 66 lines long if used in a
continuous feed printer. On a laser printer, it is 85
characters wide and 60 characters long (3 lines of
unprintable area on the top and bottom of the page). The
entry could look like the following:
page.size[7]= "d=8-1/2 x 11, w=85, h=60, c=Letter-Laser"
Once you have made the modification you must save the file.
Do not forget to save the file as ascii text only. Now
delete the fastload files and start Results (for more
information on deleting the fastload files, see knowledge
base number 16023 "Manually Editing the .qc7 File ( Outside
of Results )".
Progress Software Technical Support Note # 16024