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



The information in this article applies to:

  • Microsoft Visual Basic Standard Edition for Windows 2.0
  • Microsoft Visual Basic Standard Edition for Windows 3.0
  • Microsoft Visual Basic Professional Edition for Windows 2.0
  • Microsoft Visual Basic Professional Edition for Windows 3.0
  • Microsoft Visual Basic Standard Edition for Windows 1.0

This article was previously published under Q78075

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.

Modification Type:MajorLast Reviewed:12/12/2003
Keywords:kbprb KB78075