Hi, im new to c++ and i'd just like to know how (if you can) print out something in a console app. thanks
Hi, im new to c++ and i'd just like to know how (if you can) print out something in a console app. thanks
If you know C++ then it shouldn't be that hard.
1. Open the port the printer is connected to w/fstream i.e. ostream file("LPT1");
2. output whatever u want
3. Don't forget to close the port
I forgot to tell you:
search the board for how to eject the last page from the printer. I can't remember right now. I know that Stoned Coder said it once. It is an escape key of some sort.
\f Form Feed
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi