>Goodmorning UT,
>
> I have a question about printing in windows. Is there a way I could send a report to printer in text mode just like DOS does? This would really help speed up printouts because graphical printing takes so long on dot-matrix printers.
>
Again, this has been beaten to death in the past two weeks, but you have a couple of options available:
(1) Install the printer under Windows as a Generic/Text Only printer. The output stream will be sent as ASCII text. I'd suggest designing your report with a monospaced font in order to get the alignment correct.
(2) Print to a file with the ASCII clause, and then copy the resulting file to the printer port. There's a FAQ entry on how to copy a file to a printer port here on UT using the CopyFile() API.
(3) If you know that the only printer you're ever going to support is that particular model, design the report using the native fonts of that printer. Warning: if you do this, and later have to support a printer that isn't identical or at least codeset and font-compatible, Windows will try to use its font substitution tables and will send the print stream as graphics.