How To Print Line-by-Line to a Printer (175083)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q175083 SUMMARY
Printing page-by-page is the Windows standard; however, it is sometimes
desirable to print to a printer line-by-line rather than page-by-page. One
advantage to printing line-by-line is that if there is a power failure
while printing, the data lost is one log item, at most. The Visual Basic
Printer object does not support this mode, but the Win32 API accomplishes
this handily.
REFERENCES
For more information about using the Win32 API to send data directly to the
printer, please see the following article in the Microsoft Knowledge Base:
154078
: How To Send Raw Data to a Printer Using the Win32 API from VB
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbhowto kbprint KB175083 |
---|
|