DOC: Creating a Minidriver

Last reviewed: January 11, 1997
Article ID: Q156536
The information in this article applies to:
  • Microsoft Win32 Device Driver Kit (DDK) for Windows NT, version 4.0

SUMMARY

There are incorrect and misleading errors in the Online documentation for the following page:

   Graphics Drivers
      \Design Guide
         \Part 3: Print Components
            \Chapter 11 Printer Minidrivers and RasDD
               \Developing Windows NT Minidrivers
                  \Creating a Minidriver

MORE INFORMATION

Step 4 incorrectly states that one of the files that Unitool writes is <driver_name>.RC. It actually writes a <driver_name>.W31 file and not a .RC file. You can verify this by opening a minidriver sample in Unitool, then doing a File/Save without modifying the file, and noting what new files were written to disk.

The last paragraph in step 6 is incorrect and misleading. The reference to <driver_name>.RC should be replaced with <driver_name>.W31 in the documentation. When you save your minidriver project in Unitool, it writes a new <driver_name>.W31 file and a new <driver_name>.GPC file. You must then translate the contents of your new <driver_name>.W31 file to that of your <driver_name>.RC file so you can actually build the minidriver in the build environments.

The <driver_name>.RC file points to your 32-bit font files to be built into the minidriver's resources. The <driver_name>.W31 file points to your 16-bit font files that are converted to 32-bit with the CTT2RLE.EXE and PFM2IFI.EXE utilities. The <driver_name>.GPC file contains the printer descriptions you wrote using Unitool.


KBCategory: kbprint kbprg kbdocerr
KBSubcategory: NTDDKPrnt
Additional reference words: 4.00 kbdsh



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 11, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.