Configuring a Device for a Printer

You have two options in configuring your printers with Linux drivers.

  1. Connect a serial cable between the port and printer. 
  2. Use either the Linux printtool command to configure your printer or, set up the printers manually. To install a printer manually, add lines similar to this example to the /etc/inittab file:

    DG01:2345:once: cat < /dev/ttyaa11 > /dev/null &
    dg01:2345:once: ditty-rp 38400 ctspace altpin -ixon -ixoff -ixany /dev/ttyaa11

    The device /dev/ttyaa11 is used as an example here. Substitute your particular device name in the previous commands. This example also sets the port speed to 38400, enables altpin, enables hardware flow control (ctspace and rtspace) and disables software flow control (-ixon, -ixoff, -ixany) on the port. Configure the ditty-rp parameters as required by your specific printer and cable configuration. For more information on ditty-rp, see Setting TTY Options.