Hard-Coded UniDrv and PScript5 Features for XPSDrv

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.

When running in XPSDrv mode, all Unidrv or PScript5 hard-coded features are disabled. Unidrv/PScript5 hard-coded features are features that the driver's GPD/PPD file does not specify.

The hard-coded features are disabled in the following manner:

  • The features are not shown in any user interface (UI) for Unidrv or PScript5 core drivers.

  • For the Microsoft Win32 DeviceCapabilities API, the Unidrv or PScript5 driver's DrvDeviceCapabilities function does not report the hard-coded features.

  • PrintCapabilities XML do not contain the hard-coded features.

  • Default PrintTickets do not contain settings for the hard-coded features.

The remaining topics in this section further describe the changes in Unidrv/PScript5-based XPSDrv in the preceding areas to disable hard-coded features.