DOC: Creating a Minidriver

ID: Q156536


The information in this article applies to:


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.

Additional query words: 4.00 kbdsh


Keywords          : ntddkprnt 
Version           : 4.00
Platform          : NT WINDOWS 
Issue type        : 

Last Reviewed: March 4, 1999