DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

model.stz(4dsp)


model.stz -- SCOadmin printer model stanza file

Description

/usr/lib/scoadmin/printer/model.stz is a database containing configuration information for supported printers. The Printer Manager uses this file to add new printers.

The file includes a text description of each supported printer's make and model, pointers to a printer interface script, and a terminfo(4) entry. It can also contain additional information such as required serial line settings or supported content types. This provides a clear and easy way of adding new printers without needing to know details beyond the actual text description of the printer.

The following attributes can be specified:


contents
a quoted comma-separated list of the content types supported for a printer, usually just `PS' (for postscript), `pcl' (for HP's Printer Control Language), or `simple' (for most other printers). Additional content types can be supported by creating print filters - see lpfilter(1M). This attribute is optional.

interface
the printer interface script name (in most cases this should be set to standard). This attribute is mandatory.

name
a text description of a printer make/model. This attribute is manadatory.

terminfo
the name of the terminfo script associated with this printer. 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 keyname. Here are some example entries:
   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"

References

lpadmin(1M), terminfo(4).
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004