Bewerken

Delen via


Decorations in Printer INF Files

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.

The Printer device setup class is unique among device classes in its ability to accommodate drivers written for different processor architectures. For example, an x86 printer driver (one consisting of x86 binaries) can be added to an x64 machine. The x86 driver in this example is never executed on the x64 machine - it provides Point and Print support for x86 clients. Printer drivers that are added to support Point and Print for clients of a different architecture are called additional drivers. For information about Point and Print, see Introduction to Point and Print.

Because of the need to load additional drivers for different processor architectures (that is, for the x86, x64, and Itanium architectures), the printer class installer in Microsoft Windows Server 2003 with SP1 and later, and the 64-bit version of Windows XP and later, uses decorations in the INF Models section to identify the architecture of the machine that the driver targets.

INF File Decorations and Windows Versions

Decorations in printer INF files were introduced in Windows XP. In Windows XP and in Windows Server 2003, the decorations are optional. When decorations in the INF Models section are specified, they should match the current processor architecture.

Beginning with Windows Server 2003 with SP1 and the 64-bit version of Windows XP, decorations in the INF Models section are no longer optional for x64 drivers; these drivers must use decorated INF Models sections to indicate their target machine.

How to Use Decorations in INF Files for Printer Drivers