Bewerken

Delen via


Printer Attribute Format

Important

The modern print platform is Windows' preferred means of communicating with printers. We recommend that you use Microsoft's IPP inbox class driver, along with Print Support Apps (PSA), to customize the print experience in Windows 10 and 11 for printer device development.

For more information, see Modern print platform and the Print support app design guide.

To specify a printer attribute entry in a GPD file, use the following format:

* AttributeName : AttributeValue

where AttributeName is a predefined name belonging to one of the attribute types, and AttributeValue is one of the GPD value types.

For example, the *ModelName attribute is used for specifying a text string that describes your printer hardware. To assign a value to this attribute, you could place the following line in your GPD file:

*ModelName: "Canon Bubble-Jet BJC-600"

All attribute names are predefined and are recognized by Unidrv's GPD parser.