Configuring a Device for a Printer

Use this procedure to configure a Digi serial device for a printer. Consult your Solaris documentation for more information on configuring a serial device for a printer.

Procedure

  1. 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

  2. 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