FIX: UnTl.exe Fixes "Bad Format GPC File" Error Message

ID: Q132894


The information in this article applies to:
  • Microsoft Win32 Device Driver Kit (DDK) for Windows NT, version 3.51


SYMPTOMS

When you are working with Unitool version 3.01 and the minidriver sample in <DDK>\SRC\PRINT\HPPCL5MS, you receive the following error message:

Bad Format GPC file


CAUSE

You cannot start a minidriver project based on this sample with the current version of UniTool. The versions are incompatible.


RESOLUTION

There is a newer version of Unitool (version 3.08) that allows you to work with the hppcl5ms project in version 3.51 of the DDK. Simply replace the old version of UniTool.exe with the new one.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. To correct this problem, obtain version 3.08 of UniTool.exe by downloading UnTl.exe and running it in an empty directory.

The following file is available for download from the Microsoft Download Center. Click the file name below to download the file:

UnTl.exe
For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.


MORE INFORMATION

You will get the following warning message when you open the hppcl5ms project with version 3.08 of UniTool:


   This GPC file is now over 60K, and 64K is the limit. Do you want to edit
   it anyway? YOU WILL LOSE ANY CHANGES YOU MAKE IF THE FILE EXCEEDS 64K
   WHEN YOU TRY TO SAVE IT!! 
Choose Yes to edit the project.

This message appears because UniTool was designed for 16-bit Windows printer drivers, so it must check the data size of the DLL to be built. The hppcl5ms sample is large, so you will lose any changes that result in a GPC file over 64K.

Additional query words:

Keywords : kbfile kbDDK kbNTOS351bug kbNTOS351fix kbPrinting ntddkprnt
Version : winnt:3.51
Platform : winnt
Issue type : kbbug


Last Reviewed: December 4, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.