Bewerken

Delen via


Supporting Vendor-Defined Paper Sizes

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.

Vendor-defined paper sizes are vendor-specific and must be fully described by each printer's GPD file. These sizes are also called nonstandard paper sizes, because they are not included in the standard options for the PaperSize feature.

For each vendor-defined paper size that a printer supports, the GPD file's PaperSize feature must include an *Option entry whose argument is not one of the standard option names. Within this entry, the following option attributes are required:

*PageDimensions *PrintableArea *PrintableOrigin *rcNameID or *Name *Command

The following option attributes can be used, but are not required:

*CursorOrigin *RotateSize? *PageProtectMem