background image
Functional specification
90
CDE/Motif PST
CDEnext
6.4
Printer Model Attributes File
NAME
printer model attributes file - printer model capabilities
DESCRIPTION
The printer model attributes file consists of printer attributes for a specific printer model or a specific class
of printer models. This file is delivered by a printer vendor or ddx printer driver developer in order to
provide default configuration information for a printer.
Valid attributes are based on a subset of the POSIX 1387.4 Printer Object attribute definitions (note: the X
Print Service is not an implementation of POSIX 1387.4). See the "Printer Attribute Definitions" section in
the "X Print Service Attributes" chapter for the complete list.
The encoding for the printer model attributes file is Compound Text as defined by the X Window System.
Attribute names must be qualified using either the
xp-model-identifier
or an asterisk (
*
). For
example, if
HPDJ1600C
is the
xp-model-identifier
, then to initialize the
plexes-supported
attribute to
simplex
, use:
HPDJ1600C.plexes-supported: simplex
. For the asterisk, use:
*.plexes-supported: simplex
. If the same attribute is specified using each method, the
xp-
model-identifier
qualified entry takes precedence.
EXAMPLE
! This is the configuration file for the HP DeskJet 1600C printer.
! It is designed for use with the CDEnext Sample Implementation
! PCL, raster drivers, and print dialog manager.
HPDJ1600C.printer-model: Hewlett-Packard DeskJet 1600C
HPDJ1600C.descriptor: Hewlett-Packard DeskJet 1600C
HPDJ1600C.printer-resolutions-supported: 300
HPDJ1600C.content-orientations-supported: portrait landscape
HPDJ1600C.document-formats-supported: {PCL 5}
HPDJ1600C.plexes-supported: simplex
HPDJ1600C.xp-ddx-identifier: XP-PCL
HPDJ1600C.xp-embedded-formats-supported: {PCL 5} {HPGL 2}
HPDJ1600C.dt-pdm-command: dtpdm
! na-letter, iso-a4, na-legal, na-number-10-envelope, more?
! assumes 1/4" unprintable margins for all media
HPDJ1600C.medium-source-sizes-supported: \
{`' \
{na-letter FALSE {6.35 209.55 6.35 273.05}} \
{iso-a4 FALSE {6.35 203.65 6.35 290.65}} \
{na-legal FALSE {6.35 209.55 6.35 349.25}} \
{na-number-10-envelope FALSE {6.35 222.25 6.35 98.425}} \
}