Specifying 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.
Unidrv supports three categories of paper sizes--standard paper sizes, vendor-defined paper sizes, and user-defined paper sizes.
Standard paper sizes
Standard paper sizes are those that are commonly supported by most printers. The dimensions of these paper sizes are predefined. For more information, see Supporting standard paper sizes.
Vendor-defined paper sizes
Vendor-defined paper sizes (also called nonstandard paper sizes) are defined by a printer vendor, within a printer's GPD file. For more information, see Supporting vendor-defined paper sizes.
User-defined paper sizes
User-defined paper sizes (also called customized paper sizes) are defined by system administrators using the system's print folder, and thus are system-specific. For more information, see Supporting User-defined paper sizes.
For information about how to use the system locale to specify a default paper size, see Referencing locales.