background image
18
December 15, 1997
X Print Attributes
18
X Print Attributes
Release 6.4
X Version 11
content-orientation
Specifies the orientation to be used for this document. Valid values are:
portrait
, landscape, reverse-portrait, and reverse-landscape.
copy-count
Specifies the number of copies of this document to print.
The default value is implicitly taken to be 1 by the X Print Server.
default-printer-resolution
Specifies the resolution in dots per inch to be used for this document.
default-input-tray
The name of the input tray from which media will be drawn for printing the
document. Valid values are: top, middle, bottom, envelope, manual, large-
capacity
, main, and side. If the default-medium attribute is specified, it will take
precedence over default-input-tray.
default-medium
Specifies the medium on which the document is to be printed. The X Print Service
defines valid default-medium values to be the standard values of the medium-size
attribute as specified in ISO/IEC 10175-1.
document-format
Specifies the format of the document. The value is a structure comprised of the
document-format, an optional document-format-variant, and an optional document-
format-version. Specific printer DDX drivers may require specification of the
optional values. The structure values are enclosed by curly braces "{}" and
delimited by whitespace.
plex
Specifies the plex to be used for this document. Valid values are simplex, duplex,
and tumble.
xp-listfonts-modes
The value of this attribute controls the behavior of ListFonts and
ListFontsWithInfo
when a print context has been set. The value is a whitespace
delimited list of one or more listfonts mode values. Valid listfonts mode values
include xp-list-internal-printer-fonts and xp-list-glyph-fonts.
When a print context is set on a display connection, the default behavior of
ListFonts
and ListFontsWithInfo is to list all of the fonts normally associated with
the X print server (i.e. fonts containing glyphs) as well as any internal printer fonts
defined for the printer. The xp-listfonts-modes attribute is provided so that
applications can control the behavior of ListFonts and ListFontsWithInfo and is
typically to show just internal printer fonts. Using only internal printer fonts is
useful for performance reasons; the glyphs associated with the font are contained
within the printer and do not have to be downloaded to it.
If the value of xp-listfonts-modes includes xp-list-glyph-fonts, ListFonts and
ListFontsWithInfo
will include all of the fonts available to the server which have
glyphs associated with them. If the value of xp-listfonts-modes includes xp-list-
internal-printer-fonts,
then ListFonts and ListFontsWithInfo will include all of
the fonts defined as internal printer fonts.
3.6
Page Attributes
The page attribute pool is identified by XPPageAttr. These are document attributes that can be overridden on
a page by page basis within the X Print Service.
The default for each page attribute is the current value of the corresponding document attribute.