Trueport for AIX - adding a printer

Issue:
How to add a printer when using Trueport for AIX.

Solution:

As Trueport by default creates terminal devices for each Trueport device node. To add a printer you must first remove the terminal device from the Trueport device then a printer device can be created.

# smit tp
 Manage TTY Devices
   Remove a TTY
     Make a note of the tpm master device number (tpm#)
       Select the Trueport device to remove
          change KEEP definition in database = no

now you can add the printer device

 Return to Perle Trueport main menu
    Manage Printer Devices
       Print Spooling
         Add a Print Queue
           local
              Select the printer type
                 Choose Add NEW Printer
                     Choose tp for the Printer Interface
                         Create a queue name for the the particular emulation
                         Edit the PORT number to be the Trueport master device number from above (value 0 - 1023)

Printer/Plotter                                     lp0
  Printer/Plotter type                                osp
  Printer/Plotter interface                           tp
  Description                                         Other serial printer
  Status                                              Available               
  Location                                            tp-0                    
  Parent adapter                                      tp                      
* PORT number                                        [0]                      +
  BAUD rate                                          [9600]                   +
  PARITY                                             [none]                   +
  BITS per character                                 [8]                      +
  Number of STOP BITS                                [1]                      +
  FLOW CONTROL to be used                            [dtr]                    +
  OPEN DISCIPLINE to be used                         [direct]                 +
  STTY attributes for RUN time                       [clocal,cread,xon,xany,> +
  STREAMS modules to be pushed at OPEN time          [sptr,tioc]              +
  Printer TIME OUT period                            [60]                     +#
  STATUS of device at BOOT time                       available               +

Configure the serial communication parameters to match the serial printer's configuration. Ensure that the Flow Control is correctly configured.

When the process is completed the printer name and print queue name is displayed.

You can manage the print queue from smit or via the command line.
example:
# lpstat -pjet2
Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
jet2    lp0   READY   


Article ID:
490
Published:
7/1/2004 12:33:04 PM
Last Modified:
8/11/2004 2:44:19 PM
Issue Type:
Configuration