## OEMPRINT - Sample INF file for printer drivers based on Microsoft® Unidrv5 or Pscript5

### SUMMARY

INF files are used for installing drivers for devices. The Oemprint.inf file shows the use of two new keywords supported by Microsoft® Windows® 2000 for adding printer drivers: Include= and Needs=.

Include= : This keyword specifies additional INF(s) to be loaded by the printer class installer. Typically this will be set to NTPRINT.INF to load the system printer INF. All the install sections of the specified INF are available for use by the printer class installer.

Needs= : This keyword specifies Install Section(s) from the additional INF(s) that the printer class installer will process during the install of the current driver model. This keyword is used to install the core parts of the driver supplied by Microsoft. Examples are UNIDRV.OEM or PSCRIPT.OEM. See the Windows® 2000 DDK documentation for descriptions of all the provided install sections.

### BUILDING THE SAMPLE

The sample is to be adapted to the user's needs.

### CODE TOUR

#### File Manifest

    Root:

    Files          Description
    OEMPRINT.INF   Generic INF file to install printer drivers based on Microsoft Unidrv5 or Pscript5.
    README.HTM     The Sample Tour documentation for this sample (this file).

Top of page

© 1999 Microsoft Corporation