Posted on 1998-06-19
Ok, I was asked this question and I didn't know the answer. How do you print to a network printer using ostream?
This code works:
ofstream printer ("prn");
printer << "This line is on the printer\n";
works OK if the printer is attached to LPT1, but does not print on the
Thanks for your help