FIX: Printer.Print Statements Unable to Print w/ PostscriptLast reviewed: October 30, 1997Article ID: Q113593 |
1.00 2.00
WINDOWS
kbpring kbprg kbbuglist
The information in this article applies to: - Microsoft Visual Basic programming system for Windows, versions 1.0 and 2.0
SYMPTOMSNothing prints on the paper when you try to print a string to the printer using the printer.print statement. Nothing prints when code processing reaches the printer.enddoc statement or the end of the program.
CAUSEThe following two Postscript printer drivers were tested and found to have a problem with Microsoft Visual Basic versions 1.0 and 2.0 for Windows. The drivers with the problem are:
WORKAROUNDAdd two statements prior to the Printer.Print statement(s) to correct the problem. You need to set the Printer.CurrentX and Printer.CurrentY properties to positive values. Then add the Printer.Print statement and you should see the desired string printed on the printer's page.
STATUSMicrosoft has confirmed this to be a bug in the products listed at the beginning of this article. This problem did not occur in Visual Basic version 3.0.
MORE INFORMATIONNote that you will need a PSCRIPT.DRV 318112 bytes 10-01-92 or PSCRIPT.DRV 313520 bytes dated 3-02-92 postscript printer driver to reproduce the problem outlined below.
Steps to Reproduce Problem
Additional Steps to Work Around the Problem
|
Additional reference words: buglist1.00 buglist2.00 fixlist3.00 1.00 2.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |