Use this procedure to configure a RealPort device for a printer. See your Solaris documentation for more information on configuring a serial device for a printer.
The PortServer and RealPort should be properly installed, configured and functioning before proceeding.
set port dev=prn ra=12
This example sets dev=prn for port 12 of a PortServer.
set port altpin=on ra=12
This example sets altpin=on for port 12 of a PortServer.
To set hardware flow control on the port (which is more stable than software flow control), edit the file /etc/rc2.d/S99digi (create it if necessary) and add the following commands:
cat < /dev/dty/a001s > /dev/null
&
ditty ctspace -ixon -ixoff -ixany /dev/dty/a001s
To use software flow control, edit the file /etc/rc2.d/S99digi (create the file if necessary) and add the following commands:
cat < /dev/dty/a001s > /dev/null
&
ditty ixon ixoff -ixany /dev/dty/a001s