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.
If you are using 8-pin RJ-45 cabling from the Digi serial port to the modem, enable altpin by inserting a ditty command or altpin option to an existing ditty command for the port in the file /dev/rc.d/8/userdef.
Example
ditty altpin device_name
where 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.