Re: Win32 printing unformatted text

new topic     » goto parent     » topic index » view thread      » older message » newer message

>>> guest at RapidEuphoria.com 12/17/2004 11:48:25 AM >>>
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
);

---------------
This looks like what I need.  Thanks.

Mike

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu