Bypassing the spooler
If you use a printer without the spooler, any
stty(C)
settings you have specified for use with that printer
do not remain in effect.
The spooler opens the file and then runs the
stty commands as specified in the printer interface script.
To use a printer without the spooler:
(stty onlcr; while : ; do sleep 3600; done) < /dev/lpn &
baud is the baud rate of the printer, ttyn and lpn are the serial and parallel device names, respectively.
This command sets the stty options and holds the port open for use without the spooler. If you ever need to enable the port, you must kill the stty process first.
initprogram is the program supplied with your multiport card.
See also: