Microsoft KB Archive/302915

= Information about Unidrv4 raster printer minidrivers for Windows NT 4.0 =

Article ID: 302915

Article Last Modified on 1/13/2005

-

APPLIES TO


 * Microsoft Win32 Device Driver Kit for Windows 2000
 * Microsoft Windows NT 4.0
 * Microsoft Windows NT 4.0 Service Pack 6
 * Microsoft Windows NT 4.0 Service Pack 6a
 * Microsoft Windows 2000 Standard Edition

-



This article was previously published under Q302915



SUMMARY
The original release version of Microsoft Windows 2000 includes the Unidrv5 raster printer driver.

After the original release of the operating system, the Unidrv5 raster printer driver was back-ported to Microsoft Windows NT 4.0 as Unidrv4.

For versions of the operating system that are earlier than Windows NT 4.0 Service Pack 6 (SP6), raster printer driver solutions on Windows NT 4.0 were based on the RasDD printer driver. This configuration required using Unitool. Unitool is a tool that developers use to create Generic Printer Characterization (GPC) files that are specific to the particular printer hardware.

However, Unidrv uses text-based description files that are known as generic printer description (GPD) files. Unidrv does not use GPC files. Each Unidrv minidriver includes one or more GPD files. Starting with Windows NT 4.0 SP6, printer IHVs can deploy Unidrv solutions for their devices.

The following files make up a working example of a Windows NT 4.0-based Unidrv raster printer minidriver for Lexmark printers:
 * Unidrv4.dll: The Unidrv4 kernel-mode rendering component
 * Uni4ui.dll: The Unidrv4 common user interface for all Unidrv4 printer minidrivers
 * Unires.dll: The Unidrv4 common resource DLL
 * Lmpclres.dll: Resource DLL for the Lexmark printer
 * Lxos2455.gpd: GPD file for the Lexmark printer

The Lxos2455.gpd file that is included with the Windows NT 4.0 SP6 product CD in the I386\Support\Printers folder can be used as a proof-of-concept GPD file example. The Lxos2455.gpd file uses the Lmpclres.dll resources.

Examples of GPD files are also in the Windows 2000 driver development kit (DDK). You can use these files for Windows NT 4.0 printer minidrivers.



MORE INFORMATION
Because of the differences between GDP and GPC files, the following Windows 2000 features do not work in Windows NT 4.0:
 * *PrintRateUnit keyword and feature.
 * The following standard paper sizes:
 * {&quot;DBL_JAPANESE_POSTCARD&quot;, DMPAPER_DBL_JAPANESE_POSTCARD},
 * {&quot;A6&quot;, DMPAPER_A6},
 * {&quot;JENV_KAKU2&quot;, DMPAPER_JENV_KAKU2},
 * {&quot;JENV_KAKU3&quot;, DMPAPER_JENV_KAKU3},
 * {&quot;JENV_CHOU3&quot;, DMPAPER_JENV_CHOU3},
 * {&quot;JENV_CHOU4&quot;, DMPAPER_JENV_CHOU4},
 * {&quot;LETTER_ROTATED&quot;, DMPAPER_LETTER_ROTATED},
 * {&quot;A3_ROTATED&quot;, DMPAPER_A3_ROTATED},
 * {&quot;A4_ROTATED&quot;, DMPAPER_A4_ROTATED},
 * {&quot;A5_ROTATED&quot;, DMPAPER_A5_ROTATED},
 * {&quot;B4_JIS_ROTATED&quot;, DMPAPER_B4_JIS_ROTATED},
 * {&quot;B5_JIS_ROTATED&quot;, DMPAPER_B5_JIS_ROTATED},
 * {&quot;JAPANESE_POSTCARD_ROTATED&quot;, DMPAPER_JAPANESE_POSTCARD_ROTATED},
 * {&quot;DBL_JAPANESE_POSTCARD_ROTATED&quot;,DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED},
 * {&quot;A6_ROTATED&quot;, DMPAPER_A6_ROTATED},
 * {&quot;JENV_KAKU2_ROTATED&quot;, DMPAPER_JENV_KAKU2_ROTATED},
 * {&quot;JENV_KAKU3_ROTATED&quot;, DMPAPER_JENV_KAKU3_ROTATED},
 * {&quot;JENV_CHOU3_ROTATED&quot;, DMPAPER_JENV_CHOU3_ROTATED},
 * {&quot;JENV_CHOU4_ROTATED&quot;, DMPAPER_JENV_CHOU4_ROTATED},
 * {&quot;B6_JIS&quot;, DMPAPER_B6_JIS},
 * {&quot;B6_JIS_ROTATED&quot;, DMPAPER_B6_JIS_ROTATED},
 * {&quot;12X11&quot;, DMPAPER_12X11},
 * {&quot;JENV_YOU4&quot;, DMPAPER_JENV_YOU4},
 * {&quot;JENV_YOU4_ROTATED&quot;, DMPAPER_JENV_YOU4_ROTATED},
 * {&quot;P16K&quot;, DMPAPER_P16K},
 * {&quot;P32K&quot;, DMPAPER_P32K},
 * {&quot;P32KBIG&quot;, DMPAPER_P32KBIG},
 * {&quot;PENV_1&quot;, DMPAPER_PENV_1},
 * {&quot;PENV_2&quot;, DMPAPER_PENV_2},
 * {&quot;PENV_3&quot;, DMPAPER_PENV_3},
 * {&quot;PENV_4&quot;, DMPAPER_PENV_4},
 * {&quot;PENV_5&quot;, DMPAPER_PENV_5},
 * {&quot;PENV_6&quot;, DMPAPER_PENV_6},
 * {&quot;PENV_7&quot;, DMPAPER_PENV_7},
 * {&quot;PENV_8&quot;, DMPAPER_PENV_8},
 * {&quot;PENV_9&quot;, DMPAPER_PENV_9},
 * {&quot;PENV_10&quot;, DMPAPER_PENV_10},
 * {&quot;P16K_ROTATED&quot;, DMPAPER_P16K_ROTATED},
 * {&quot;P32K_ROTATED&quot;, DMPAPER_P32K_ROTATED},
 * {&quot;P32KBIG_ROTATED&quot;, DMPAPER_P32KBIG_ROTATED},
 * {&quot;PENV_1_ROTATED&quot;, DMPAPER_PENV_1_ROTATED},
 * {&quot;PENV_2_ROTATED&quot;, DMPAPER_PENV_2_ROTATED},
 * {&quot;PENV_3_ROTATED&quot;, DMPAPER_PENV_3_ROTATED},
 * {&quot;PENV_4_ROTATED&quot;, DMPAPER_PENV_4_ROTATED},
 * {&quot;PENV_5_ROTATED&quot;, DMPAPER_PENV_5_ROTATED},
 * {&quot;PENV_6_ROTATED&quot;, DMPAPER_PENV_6_ROTATED},
 * {&quot;PENV_7_ROTATED&quot;, DMPAPER_PENV_7_ROTATED},
 * {&quot;PENV_8_ROTATED&quot;, DMPAPER_PENV_8_ROTATED},
 * {&quot;PENV_9_ROTATED&quot;, DMPAPER_PENV_9_ROTATED},
 * {&quot;PENV_10_ROTATED&quot;, DMPAPER_PENV_10_ROTATED}
 * The following halftone options:
 * {&quot;HT_PATSIZE_SUPERCELL&quot;, HT_PATSIZE_SUPERCELL},
 * {&quot;HT_PATSIZE_SUPERCELL_M&quot;, HT_PATSIZE_SUPERCELL_M}
 * *rcHTPatternID keyword and feature (OEM defined halftone).

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Keywords: kbinfo KB302915

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.