APPENDIX I:

/etc/printers


Both, the PORT TYPE (2nd column) and the DESCRIPTION (3rd column) are important for a correct printer configuration.

Only printers with type: 0006 or 0010 (in /etc/printers) will show under Config/Select_Printer window.

SAMPLE

The file below shows an hypothetical /etc/printers file with (almost) ALL possible printer types and descriptions. (Obsolete printers are not here)

        Port
LPxx    Type    Description

LP01    0003    80 Dot-Matrix,B/W,Ser
LP08    0002    80 Dot-Matrix,B/W,Ser
LP05    0002    80 Dot-Matrix,B/W,Par

LP24    0000    80 Dot-Matrix,Color,Ser

LP12    0005    132 Dot-Matrix,B/W,Ser
LP22    0004    132 Dot-Matrix,B/W,Ser
LP32    0004    132 Dot-Matrix,B/W,Par

LP16    0005    136 Dot-Matrix,Color,Ser
LP36    0004    136 Dot-Matrix,Color,Par

LP47    0006    Color Ink-Jet,Ser
LP57    0006    Color Ink-Jet,Par

LP13    0006    Deskjet Printer,Ser
LP42    0010    Deskjet Printer,Par

LP34    0006    PS Postscript Printer
LP14    0010    PS Postscript Printer

LP08    0006    PC PRINTER

Note: The DESCRIPTION of a PostScript printer does not tell you if the interface is Serial or Parallel, however the PORT TYPE is 0006 for Serial, and 0010 for Parallel.

SYNTAX

The syntax of this file is critical.
To observe ALL characters (including TABS and SPACES):
Open the file with 'vi', then type

	 :set list
All columns should look aligned now

This how you see in 'vi' regular mode:
LP22    0010    PS Postscript Printer     
LP10    0010    Deskjet Printer,Par       
LP14    0010    PS Postscript Printer     
LP12    0010    Deskjet Printer,Par       
LP02    0005    132 Dot-Matrix,B/W,Ser    
LP01    0003    80 Dot-Matrix,B/W,Ser     
LP03    0006    Deskjet Printer,Ser       
LP04    0006    PS Postscript Printer     
LP06    0005    136 Dot-Matrix,Color,Ser  
LP05    0000    80 Dot-Matrix,Color,Ser   
LP07    0006    Color Ink-Jet,Ser         
LP08    0006    PC PRINTER                
LP16    0010    Deskjet Printer,Par       
LP09    0010    Deskjet Printer,Par       
~                                         
This how you see in 'vi' after command ":set list":
LP22  ^I0010^IPS Postscript Printer   $   
LP10  ^I0010^IDeskjet Printer,Par     $   
LP14  ^I0010^IPS Postscript Printer   $   
LP12  ^I0010^IDeskjet Printer,Par     $   
LP02  ^I0005^I132 Dot-Matrix,B/W,Ser  $   
LP01  ^I0003^I80 Dot-Matrix,B/W,Ser   $   
LP03  ^I0006^IDeskjet Printer,Ser     $   
LP04  ^I0006^IPS Postscript Printer   $   
LP06  ^I0005^I136 Dot-Matrix,Color,Ser$   
LP05  ^I0000^I80 Dot-Matrix,Color,Ser $   
LP07  ^I0006^IColor Ink-Jet,Ser       $   
LP08  ^I0006^IPC PRINTER              $   
LP16  ^I0010^IDeskjet Printer,Par     $   
LP09  ^I0010^IDeskjet Printer,Par     $   
~                                         
~                                            

1