-
1 Attachment(s)
I have a program which makes output, and takes input. Basically like a calculator which asks questions...
I would like to get all of the stuff it prints to the screen, and all the input frmo the user, and print it on a printer. I have got the printer to print, but i'm unsure on how to print it all. Does anyone know a way to do it? I'll attach my source code to this here.
-
To print to a printer on LPT1 you can use:
Code:
ofstream ofPrinter("lpt1");
...then use the insertion operators as normal.