### Configuring a Device for a Printer

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 Digi device and RealPort should be properly installed, configured and functioning before proceeding.

#### Procedure

1. Connect a proper cable between the port and printer.
2. Set flow control on the port to match the printer settings.

   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`