Configuring a TTY Device for a Printer

Use this procedure to configure a RealPort device for a printer.

Procedure

  1. Connect a proper cable between the port and printer. See the Digi One RealPort or PortServer Cable Guide.
  2. Login to the Digi One RealPort or PortServer as root. For information on logging on to a Digi One RealPort or PortServer, see Configuring a Digi One RealPort or PortServer for RealPort.
  3. Set the port to dev=rp on the Digi One RealPort or PortServer by entering this command at a root prompt:

    set port dev=rp ra=12

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

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

  4. If you are using 8-pin RJ-45 cabling from the Digi One RealPort or PortServer to the printer, set the port to altpin=on by entering this command at a root prompt:

    set port altpin=on ra=12

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

  5. Enter this command at a root prompt:

    smit printer

  6. Choose Printer/Plotter Device > Add a Printer/Plotter > osp Other serial printer > rs232.
  7. Choose an sa device.
  8. Enter a port number in the PORT number field.
  9. Set BAUD rate, PARITY, BITS per character, and number of STOP BITS to match the settings of the printer.
  10. Set FLOW CONTROL to be used to match the flow control used by the printer.
  11. If the Data Carrier Detect signal is not wired between the port and the peripheral device attached to it, set Force Carrier to enable.
  12. Choose Enter to complete the TTY addition.