The information in this article applies to:
SYMPTOMSThe MULTIPAD sample that ships with the Microsoft Windows version 3.1 SDK allows only one print job to be sent to the printer. Any further attempts to print result in the following error: The document is not printed, and you must re-start MULTIPAD to do any printing. CAUSEThe PRINTDLG data structure used for printing is a global variable, and two members of this structure are invalid after the first print job is sent. These members are not properly initialized for subsequent print jobs. RESOLUTIONIn the MPPRINT.C file, in the GetPrinterDC() routine, the following lines:
should be changed to:
STATUSThis behavior is by design. Additional query words: 3.10
Keywords : kb16bitonly kbDSupport kbSDKWin16 |
Last Reviewed: July 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |