BUG: GDI Assertion Failure in PostScript DriverLast reviewed: August 29, 1995Article ID: Q135843 |
The information in this article applies to:
SYMPTOMSThe sample PostScript printer driver does not load as built with the Windows NT DDK version 3.51. When you test the driver from Notepad the following error occurs:
Cannot access your printer. Be sure that your printer is connected properly and use Control Panel to verify that the printer is configured properly.A checked build of the driver gives the following messages in WinDbg/WinDbgRm:
"GDI Assertion Failure: PSCRIPT!GetFont: Couldn't find font resource." "GDI Assertion Failure: PSCRIPT!DrvEnablePDEV: GetFont failed." "Module Unload: C:\WINNT351\SYSTEM32\SPOOL\DRIVERS\W32X86\1\PSCRIPT.DLL" RESOLUTIONAdd the following lines to the SOURCES file for the driver: DLLENTRY=PSDLLInitProc SUBSYSTEM_VERSION=3.50 The first flag makes the pscript DLL initializing entry point visible to the system. The second flag, which is optional, disables some new options in the linker so that the resulting driver can be run on a version 3.5 system.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional reference words: 3.51
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |