Supporting Standard 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.
Standard paper sizes are represented by the standard options for the PaperSize feature.
For each standard paper size that a printer supports, the GPD file's PaperSize feature must include an *Option entry whose argument is one of the standard option names (except CUSTOMSIZE).
Within this entry, the following option attributes are required:
*PrintableArea *PrintableOrigin *rcNameID *Command
The following option attributes can be used, but are not required:
*CursorOrigin *RotateSize? *PageProtectMem
For all standard paper sizes, the RCID_DMPAPER_SYSTEM_NAME resource identifier (defined in stdnames.gpd) should be used as the argument to *rcNameID.