Use VB To Print In DOS Mode; Dot Matrix Printing

Category:
Miscellaneous
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This simple sub procedure for printing documents or reports prints in DOS mode from VB. If you are using a Dot Matrix printer with a VB application, this code can be utilized.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: