Lists (GPD language)

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 assign a set of values to an attribute, use the LIST keyword. The format is:

LIST ( Value1 , Value2 , Value3 , ..., ValueN)

where Value1, Value2, Value3, ..., ValueN represent a set of one or more values, all of the type specified for the attribute. For example, the order in which a printer's color plane data should be sent can be specified as follows:

*ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)