If memory serves, you can do something like this...
Code:#include <fstream> using namespace std; int main() { ofstream OUT; OUT.open("LPT1"); OUT << "Printing Text" << endl; OUT.close(); return 0; }
|
Results 1 to 5 of 5
Thread: Printer as outputstreamThreaded View
|
Click Here to Expand Forum to Full Width |