PRB: Printer Error When Printing VB Form to Text-Only Printer

Last reviewed: June 21, 1995
Article ID: Q78075
The information in this article applies to:

- Standard and Professional Editions of Microsoft Visual Basic for

  Windows, versions 2.0 and 3.0
- Microsoft Visual Basic programming system for Windows, version 1.0

SYMPTOMS

The message "Printer Error" displays when you print a form from Visual Basic to a text-only printer. The text-only printer does not have the graphics capability to print the Visual Basic form. Windows traps the printer error and displays the "Printer Error" dialog box.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Problem

  1. From the Windows Control Panel, choose the Printers icon, and select Generic Text / Text Only as the default printer. (You may need to install the Generic / Text Only printer from the Control Panel to make this option available.)

  2. Start Visual Basic.

  3. From the File menu, choose Print. The current form and code are selected by default in the print dialog box.

  4. Choose the OK button to print. Windows displays the "Printer Error" dialog box.


Additional reference words: 1.00 2.00 3.00
KBCategory: kbprint kbenv kbprg kbprb
KBSubcategory: EnvtDes


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 21, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.