Bewerken

Delen via


Using Updated Core Print Drivers

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.

Most manufacturer-supplied print drivers implement only device-dependent functions, and they rely on the system-supplied core driver components to manage generic printer functions. UniDrv, PostScript, and XPSDrv are examples of core driver components that many manufacturer-supplied drivers rely on to help with printer control and configuration.

Typically, printer manufacturers do not include Microsoft's core print drivers in their print driver packages. Instead, the INF files in their driver packages simply invoke Microsoft's printer INF file, Ntprint.inf, which installs the appropriate core print drivers.

However, Microsoft periodically releases updated versions of its core print drivers, and some manufacturers might supply driver packages that require features that are available only in the updated versions. This section describes the steps for installing with the required core print driver versions.

Packages

In Windows Vista and Windows Server 2008, the operating system treats all print driver packages as unique objects. The operating system stores the files from each driver package in a separate folder in the Windows driver store. The Windows printer installer configures the driver package to operate independently of the other driver packages, and each driver package is separately managed by the operating system.

Windows stores each driver package as a complete unit, and, during point and print, the entire driver package is downloaded from the print server to a client and installed. A package-aware driver is compatible with the management of driver packages as independent objects. Package-aware print drivers have entries in their INF files to enable point-and-print operations even if their packages have print driver dependencies on files outside of the package.

Updates in Windows Vista

To support independent driver packages and still allow hardware manufacturers to take advantage of the core driver components, Windows Vista (and later) allows a package-aware driver to register a dependency on a core driver package. Microsoft supplies only one core driver package for printers in Windows Vista. That package is described by the driver-information file Ntprint.inf. Nearly all manufacturer-supplied print drivers, including package-aware drivers, depend on this core driver package.

Periodically, Microsoft releases updated versions of this core driver package. For example, Service Pack 1 for Windows Vista includes an updated version of the core driver package. Some manufacturers might find that they need to take advantage of these updates, and that their drivers can no longer rely on the version of the core driver package contained in the initial Windows Vista release.

This section explains how to construct a package-aware driver that has dependencies on updated core driver files, and how to ensure that the updated core driver package is installed when the manufacturer-supplied package-aware driver is installed.

The following topics are discussed:

Constructing a Package-Aware Driver with Updated Core Drivers

Updating Core Drivers Files for Non-Package-Aware Drivers

Creating a Single Driver Package for Windows XP and Windows Vista