The normal stty
settings for an unopened serial device may not correspond with the
desired stty
settings. For example, the default baud rate is 300. The following
information for setting up the special device file and then setting
stty is provided
as a starting point for your own requirements.
Typical Series 700 mknod
for an HP 3630A at select code 9[24]
# mknod 〈dev〉/rlp c 174 0x090004 |
To configure the port for normal printing
stty -parenb -ienqak cs8 9600 -cstopb \ -clocal ixon opost onlcr tab3 < 〈dev〉/rlp |
To configure the port for raster printing, execute
the following stty
commands (or equivalent ioctl(2)
calls).
stty -onlcr -opost -tabdly < 〈dev〉/rlp |