background image
Functional specification
88
CDE/Motif PST
CDEnext
6.3
Xprinters File
NAME
Xprinters file - identify printers to be managed by an X Print Server
DESCRIPTION
The
Xprinters
file is read by an X Print Server during initialization in order to determine which printers
it will manage.
Lines in the file consist of a keyword followed by a value. Keyword recognition is case-sensitive. Any data
following the comment character "
#
" on a given line is ignored.
The encoding for the
Xprinters
file is Compound Text as defined by the X Window System.
KEYWORDS
Augment_Printer_List
This keyword is used to generate a list of printer names that will be added to the list of
printers the server will manage. If this line is not specified, or if the Xprinters file does
not exist, the server will generate a list of printers by utilizing the output of lpstat(1).
Predefined values for the
Augment_Printer_List
keyword are:
%default%
Explictly invoke the default behavior, i.e. augment the list of printers by
utilizing the output of lpstat(1).
%none%
Do not augment the list of printers. This provides a way to override the
default behavior of calling lpstat(1) when no
Augment_Printer_List
line is present.
In addition, the value may be specified as a POSIX shell command pipeline that
generates a list of printers on
stdout
. This generated list is added to the list of printers
managed by the server.
Printer
A whitespace delimited list of one or more printer names to add to the list of printers
managed by the server.
Map
The attributes configuration files utilize a printer qualifier, defined by the X Print Server,
that is the printer name by default, provided the characters comprising the printer name
conform to the restricted set of characters allowed for the printer qualifier, that is, the set
of characters allowed for Xrm resource names. The
Map
keyword is provided to allow
specification of a printer qualifier when a default printer qualifier is not generated by the
server, or if an override of the default qualifier is desired.
The
Map
value is of the form <printer name> <printer qualifier>, for example:
Map könig koenig