Re: Win32 printing unformatted text
- Posted by Tommy Carlier <tommy.carlier at telenet.be> Dec 17, 2004
- 483 views
You can find the WritePrinter function in winspool.dll You can use this to send raw data to a printer. The definition: BOOL WritePrinter( HANDLE hPrinter, // handle to printer object LPVOID pBuf, // array of printer data DWORD cbBuf, // size of array LPDWORD pcWritten // bytes written to printer ); -- The Internet combines the excitement of typing with the reliability of anonymous hearsay. tommy online: http://users.telenet.be/tommycarlier tommy.blog: http://tommycarlier.blogspot.com