Originally posted by: O'Hara
All right! But How I can receive return codes and state codes from printer?
Do You remember how it was in DOS applications (int17h)?
I must know: printed symbol or not!!!
(sorry for my englidh)
Originally posted by: Dan Green
One problem using this method: if your printer goes
offline - i.e. someone pushes the offline button, the
thread will hang and it is very difficult to recover
in code.
Originally posted by: Gunnar Roth
If you want direct line printing, call StartPagePrinter for every page and configure Printer Driver Spool settings (for NT) to print directly to printer.
Using this api, you can take advantage of default printer settings, and your printings tasks can be spooled.
Ciao,
Ther is a printer api in WIN32 consisting of OpenPrinter(), WritePrinter() StarDocPrinter(), StartPagePrinter() etc.
Gunnar