Printer models file

The printer models file /usr/lib/scoadmin/printer/model.stz contains a list of supported printers and their attributes.

The /usr/lib/scoadmin/printer/model.stz

format is as follows:

key1:
attr1=val1
attr2=val2
key2:
...

The file includes a text description of each supported make and model, pointers to a printer interface script, and a terminfo entry. It can also contain additional information such as required serial line settings or supported content types.

The following attributes are available:
Item Descriptor
contents A quoted, comma-separated list of the content types supported for a printer, usually just PS (for postscript), pcl (for Hewlett-Packard's Printer Control Language), or simple (for most other printers). Additional content types can be supported by creating Print Filters. See Print filters. This attribute is optional.
interface The Printer Interface Script should be set to standard in most cases. SeePrinter interface scripts. This attribute is mandatory.
name A text description of a printer make/model. This attribute is mandatory.
terminfo Is the name of the terminfo entry associated with this printer. See terminfo database. This attribute is optional.
stty Any serial or parallel line settings appropriate for the printer. This attribute is optional.

In addition, each printer must have a unique key name associated with it, as shown in these examples:

   canon-jet-10ex:
   name="Canon Bubble Jet 10ex"
   terminfo=bj-10ex
   interface=standard

   hp-laserjet:
   name="HP LaserJet (PCL)"
   terminfo=hplaserjet
   interface=standard
   contents=pcl
   stty="clocal -onlcr"