The information in this article applies to:
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. CAUSE
The 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 query words: buglist1.00 buglist2.00 fixlist3.00 2.00 buglist1.00 buglist2.00 fixlist3.00
Keywords : |
Last Reviewed: August 31, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |