Use this procedure to configure a Digi serial device for a printer. Consult your operating system documentation for more information on configuring a serial device for a printer.
Example
ditty altpin devicewhere device is the name of the Digi device.Note: By inserting the command in the startup file, it will
execute every time the system is booted. For the altpin option to take
effect immediately, enter the ditty altpin command at a UNIX prompt.
cat < /dev/device > /dev/null &
or
sleep 999999 < /dev/device &
These commands force the specified port to stay open, thus preserving any "non-sticky" options. Substitute your port name in the command.
As an example, the following command will set the port ttya01 to a speed of 38400, disable software flow control, and enable hardware flow control on the port:
ditty 38400 -ixon -ixany -ixoff ctspace device
By placing the ditty command in /etc/rc.d/8/userdef, it will be executed whenever the system is booted.