NewDeal Hot Tip 1613

[Hot Tips for...] GEOS.INI

GEOS.INI: [paper] [envelope] [label]

The [paper] category allows you to define new sizes of paper and add them to the list in the Page Setup dialog box. Categories for [envelope] and for [label] are also available, and the structure is similar (note the information about the layout key below).

count = <number>
Number of user-defined size categories; in other words, the number of new paper categories you have in the initialization file following this category. Each user-defined size category is defined by a [paper<num>] category as described below.

newSizes = <list>
List of the names of the user-defined size categories.

order = <array of new sizes, plus default sizes>
List of the names of the new user-defined size categories, (without the word "paper") plus the default page size categories.

[paper<name>]
Each new paper size must be defined in its own category, where <num> is an integer number. If this number is already in use by the system, then it will show up as blank in the size list in the Page Setup dialog box.

name = <name string>
The name you want to show in the selection list in the page setup dialog box (don't use quotes).

width = <width in points>
height = <height in points>
There are 72 points to an inch.

layout = <number>
Add the values you want from the list below. If you do not include this field, the default portrait paper will be used.
PageType (use only the value appropriate for the category, i.e. don't use 2 for a [label<num>]).
PAPER = 0
ENVELOPE = 2
LABEL = 4
PaperOrientation (applies only to [paper<num>] and [envelope<num>])
PORTRAIT = 0
LANDSCAPE = 8
Number of labels (applies only to [label<num>])
Per row = number multiplied by 8
Per colum = number multiplied by 512

EXAMPLE:
[paper]
count = 2
newSizes = {
paper128
paper129
}
order=128,129,029,031,024,020,027,016,044,017,041,040,043,049,052,057,039,047,028,022,030,038,
;029 and those following it are default paper settings for desktop software
[paper128]
name = Small Portrait 1x2 inch
width = 72
height = 144
layout = 8
[paper129]
name = Strange 8x14 inch Paper
width = 576
height = 1008

Return to Index

Last Modified 5 Mar 1999