Printer models file
The printer models file /usr/lib/scoadmin/printer/model.stz
contains a list of supported printers and their attributes.
The Printer Manager uses this file to configure a
new printer. The 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(4)
entry. It can also contain additional
information such as required serial line settings or supported
content types.
The following attributes are avilable:
- 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
This attribute is optional.
- interface
-
the
"printer interface script"
(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 entry
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 associated
with it, as 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"
Next topic:
Printer interface scripts
Previous topic:
Administering the /etc/lp/Systems file
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999