Plotter Configuration

A plotter is defined in the PRO/5 configuration file using the ALIAS command as follows:

aliasbbxname realname type comment modes

Parameter

Description

alias

Identifies the following information as an alias (i.e., bbxname is an alias for realname).

bbxname

Refers to the name of the device for PRO/5 to use.

realname

Refers to the name of the device to use as the plotting device such as "/dev/tty1a", "/dev/lp1" on the UNIX operating system, "/dev/lpt1" and "/dev/com1" for MS-DOS. Again, if your MS-DOS operating system does not allow the use of the preceding "/dev/", you should use the base name of the device, i.e., "lpt1" for "/dev/lpt1". Plot output can also be sent to a file. This file can be used later as input to pro5plot.

For TCP/IP and UDP sockets, use "tcp" or "udp", respectively.

type

Refers to the entry in the termcap file you wish to reference for this plotter. PRO/5 supplies its own termcap file that you may want to use. If you are unfamiliar with termcap file usage, see Introduction to Termcap, contained in the User's Reference Guide.

modes

Defines the special features supported by the plotter. Modes are separated by commas in the config.bbx file.

Mode

Description

ASPECT=number

Plotter aspect ratio. For more information, see the 'ASPECT' mnemonic.

FONTx=filename

The "FONT" mode allows you to select fonts and load them when the plotter device is OPENed for the first time. The character preceding the "=" sign is the font number with which to associate the font data. These fields are optional. Text output to a graphic device is associated with a font (a style of printing). If a font is defined here, every time the device is initialized, the font will be loaded from a disk file.

The available fonts include:

simplex.sft
duplex.sft
triplex.sft
symbols.sft
script.sft
olde.sft