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. For more in formation on cables, see the PortServer Cable Guide.
  2. Set the port to dev=rp on the PortServer by entering this command at a PortServer root prompt:

    set port dev=rp ra=12

    This example sets PortServer port 12 to be a RealPort device.

    Note: If your PortServer firmware does not support the dev=rp option, use dev=prn instead.

  3. If you are using 8-pin RJ-45 cabling from the PortServer to the terminal, set the port to altpin=on by entering this command at a PortServer root prompt:

    set port altpin=on ra=12

    This example sets altpin=on for port 12 of a PortServer.

  4. Use either the Linux printool 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.