Article ID: 138594 - Last Review: July 11, 2005 - Revision: 3.5 HOWTO: Send Raw Data to a Printer by Using the Win32 APIThis article was previously published under Q138594 On This PageSUMMARY It is sometimes necessary to send printer-specific data
directly to a printer, bypassing the driver. The Win32 API provides a do it
that works on local and networked printers. This method can be used to replace
the PASSTHROUGH escape and SpoolFile() methods used in previous versions of the Windows API.
MORE INFORMATIONSample CodeYou can use the following code to send raw data directly to a printer in Windows NT or Windows 95.RAWPRN.EXE
(http://download.microsoft.com/download/platformsdk/utility/95/win98/en-us/rawprn.exe)
Release Date:
February 10, 2000For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base: 119591
(http://support.microsoft.com/kb/119591/EN-US/
)
How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on security-enhanced servers that help to
prevent any unauthorized changes to the file.
REFERENCES For additional information, please see the following
article in the Microsoft Knowledge Base: 154078
(http://support.microsoft.com/kb/154078/EN-US/
)
HOWTO: SendRaw Data to a Printer Using the Win32 API from VB
| Article Translations
|

Back to the top
