80
DEFPRT Directive
Define as Printer
Format
DEFPRT (chan)col,ln
Where:
chan
Logical file number or channel of the file to define as a printer.
col
Default maximum number of columns supported by the printer. This must
be an integer value, range 0 to 255.
ln
Default maximum number of lines supported by the printer. This must be
an integer value, range 0 to 255.
Description
Use the DEFPRT directive to specify that a given channel refers to a printer. You can
specify the default maximum lines and columns supported by the printer. If you do
not designate the file as a printer, ProvideX does not apply printer mnemonics, and
the values for the MXC( ) and MXL( ) functions are not set.
You can use the DEFPRT directive for TCP files.
See Also
Examples
0010 DEFPRT (LFO)80,25