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 device_namewhere device_name 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.
ditty
printer device_name
This command forces the specified port to stay open, thus preserving any "non-sticky" options. Substitute your device name in the command.
For 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_name
By placing the ditty command in /etc/rc.d/8/userdef, it will be executed whenever the system is booted.
scoadmin printer
See your SCO UnixWare documentation for information on scoadmin.