Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.76 KB

general-attributes.md

File metadata and controls

33 lines (21 loc) · 1.76 KB
title description keywords ms.date
General Attributes
General attributes
printer attributes WDK Unidrv , general
general printer attributes WDK Unidrv
general printer attributes WDK Unidrv , about general printer attributes
06/22/2023

General attributes

[!includePrint Support Apps]

General attributes represent one of the attribute types defined by the GPD language. General attributes aren't associated with a particular feature or option. The general attributes are divided into the following groups:

Root-Level-Only Attributes

General Printing Attributes

Text Printing Attributes

Raster Printing Attributes

Vector Printing Attributes

Usually, you place all general attributes in a GPD file at root level (that is, not inside braces). The root-level-only attributes must always be placed at root level.

Occasionally, the value of a general attribute (except for the root-level-only attributes) is dependent on configuration parameters. In such a case, the attribute entry might be placed within an *Option statement, or within a *Case statement (located either at root level or contained in an *Option statement). If the attribute isn't at root level (either because it's contained in an *Option statement or because it is in a nonroot-level *Case statement), the attribute name must be prefixed by the EXTERN_GLOBAL symbol, as follows:

EXTERN_GLOBAL: *AttributeName: AttributeValue

For more information about specifying configuration dependencies, see Conditional Statements.