Asynchronous Serial Communications Programmer's Reference Manual (32022-90052)

264 Chapter9
Intrinsics Reference (cont)
HPFOPEN
For terminal and printer files, no rounding up occurs if
you specify a record size consisting of an odd number of
bytes. The record size may be different from that
configured for the port. The default value is the
configured record size (normally 40 words for terminals,
66 words for printers).
Item# = 20 device name option (CA)
Passes the logical device number, in ASCII form, of a
specific device. The device specified should be ready
prior to the HPFOPEN call or an error will result. You
can obtain the logical device number through the
FFILEINFO intrinsic. Note that all character arrays
must start on a halfword boundary.
Only one of the following options can be in effect when
a file is opened:
device name option
(Item# = 20),
volume class option
(Item# = 22),
volume name
option
(Item# = 23),
device class option
(Item# = 42). The last itemnum specified takes
precedence over all previously specified
itemnums
from
this group. Any duplication is flagged as a warning.
Item# = 21 long mapped option (@64)
Not meaningful for asynchronous devices.
Item# = 22 volume class option (CA)
Not meaningful for asynchronous devices.
Item# = 23 volume name option (CA)
Not meaningful for asynchronous devices.
Item# = 24 density option (I32)
Not meaningful for asynchronous devices.
Item# = 25 printer environment option (CA)
Passes the name of a file that contains a printer
environment. This option is valid only for certain
printer devices. Note that all character arrays must
start on a halfword boundary.
Item# = 26 remote environment option (CA)
Passes the node name of the remote computer where
the file is located. This option is used when you are
referencing a file located on a remote computer. Note
that all character arrays must start on a halfword
boundary.
Item# = 27 output priority option (I32)