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/Windows® XP/Windows® Server 2003 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® Server 2003 Driver Development Kit documentation for descriptions of all the provided install sections.
The sample is to be adapted to the user's needs.
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).
© 1999-2003 Microsoft Corporation