Standard Features

Standard features are printer features commonly provided by most printers. They are identified by predefined names that the GPD language recognizes. (Resource identifiers for strings that represent these names are contained in stdnames.gpd, which is supplied with the Microsoft Windows Driver Kit [WDK].) Some standard features are required and must be specified for every printer. Others are optional.

The following table lists all of the standard features, in alphabetical order, and indicates whether each feature accepts standard options or customized options. The features that include a Print Schema keyword are GPD features that are automatically mapped to Print Schema keywords. You can also map GPD features to Print Schema keywords manually by using the PrintSchemaKeywordMap attribute. The Print Schema is documented in the Microsoft Windows SDK.

Feature nameDefault Print Schema feature keywordDescriptionStandard optionsComments

Collate

DocumentCollate

Page collation

See Standard Options.

Customized options are not allowed.

Optional. If not specified, Unidrv does not support page collation.

ColorMode

PageOutputColor

Color printing modes

None. All options are customized. Also see Option Attributes for the ColorMode Feature.

Optional. If not specified, Unidrv renders images in single-plane, 1-bit-per-pixel format.

Duplex

JobDuplexAllDocumentsContiguously

Two-sided printing

See Standard Options.

Customized options are not allowed.

Optional. If not specified, Unidrv performs only single-sided printing.

Halftone

No default keyword. Use the PrintSchemaKeywordMap attribute to assign a Print Schema feature keyword.

Halftoning capabilities

See Standard Options.

Customized options are allowed.

Also see Option Attributes for the Halftone Feature.

Optional. If not specified, Unidrv selects a GDI-supported halftoning method.

Also see Halftoning with Unidrv.

InputBin

JobInputBin

Types of input bins

See Standard Options.

Customized options are allowed.

Also see Option Attributes for the InputBin Feature.

Required.

Customized input bin names must be 24 characters or less.

MediaType

PageMediaType

Types of printing media

See Standard Options.

Customized options are allowed.

Optional. If not specified, the printer's default medium is always used.

Memory

No default keyword. Use the PrintSchemaKeywordMap attribute to assign Print Schema feature keyword.

Printer memory configurations

All options are customized. Also see Option Attributes for the Memory Feature.

Optional. If specified, Unidrv attempts to keep track of memory usage.

Default *FeatureType value is PRINTER_PROPERTY.

Orientation

PageOrientation

Paper orientations

See Standard Options.

Customized options are not allowed.

Optional. If not specified, the default orientation is PORTRAIT.

For Windows 7, the MxdcGetPDEVAdjustment function has new parameters for landscape rotation. For more information, see MxdcXDCGetPDEVAdjustment.

OutputBin

JobOutputBin

Types of output bins

None. All options are customized.

Also see Option Attributes for the OutputBin Feature.

Optional. If not specified, Unidrv does not attempt to select an output bin.

PageProtect

JobPageProtection

Enables protection of current print page

See Standard Options.

Customized options are not allowed.

Optional. If not specified, the default value is OFF. Unidrv only enables page protection if enough printer memory is available. Default *FeatureType value is PRINTER_PROPERTY. Also see *PageProtectMem.

PaperSize

PageMediaSize

Paper sizes

See Standard Options.

Customized options are allowed.

Also see Option Attributes for the PaperSize Feature.

Required. At least one option must be specified. The CUSTOMSIZE option allows printer users to specify a paper size.

RESDLL

This feature cannot be mapped to a Print Schema keyword.

Resource DLLs

All options are customized.

See Using Resource DLLs in a Minidriver.

Optional. Also see *ResourceDLL.

Resolution

PageResolution

Printing resolutions

All options are customized. Also see Option Attributes for the Resolution Feature.

Required. At least one option must be specified.

Stapling

JobStapleAllDocuments

Stapling capabilities

All options are customized.

Optional. If specified, Directory Services indicates the printer supports stapling.

 

For examples, see the sample GPD files.

Related topics

Sample GPD files
V4 Printer Driver Localization

 

 

Send comments about this topic to Microsoft

Mostrar:
© 2014 Microsoft