Article ID: 154078 - Last Review: August 30, 2004 - Revision: 2.2 How To Send Raw Data to a Printer Using the Win32 API from Visual BasicThis article was previously published under Q154078 SUMMARY
The Visual Basic Printer object allows for printing through printer drivers, but there may be times when it is desirable to use the Win32 API to send information more directly to the printer. The code sample to follow shows how to achieve this by using API functions that bypass printer drivers to communicate directly with the print spooler.
MORE INFORMATION
REFERENCES
The Win32 SDK Help files give a more detailed description of the APIs used
in the sample.
For information on the same procedure for VC++, please see the following article in the Microsoft Knowledge Base: 138594
(http://support.microsoft.com/kb/138594/EN-US/
)
: How To Send Raw Data to a Printer by Using the Win32 API
APPLIES TO
| Article Translations
|
Back to the top
