System Administration Guide
Chapter 4, Managing printers and print jobs

Adding a new printer manually

Adding a new printer manually

The print service relies on the standard interface script and the terminfo database to initialize each printer and set up a selected page size, character pitch, line pitch, and character set. Thus, it is usually sufficient to have the correct entry in the terminfo database (/usr/lib/terminfo/terminfo.lp) to add a new printer to the print service.

The terminfo database identifies each printer by a short name, identical to the kind of name used to set the TERM shell variable. For example, the name in the terminfo database for the AT&T model 455 printer is ``455''.

To specify the terminfo type for your printer, in the Printer Manager select Advanced from the Settings menu, then select Terminfo Type. By default, the terminfo database includes entries for several popular printers. Select the terminfo type from the list that corresponds to your printer.

If terminfo does not include an entry for your printer, you might still be able to use the printer with the print service. However, you will not be able to use automatic selection of page size, pitch, and character sets, and you might have trouble keeping the printer set to the correct modes for each print request or using printer forms with the printer. In this case, you can either add an entry to terminfo for your printer or create a customized interface program to use with the printer.

See also: