This is a discussion on How to print directly from compile screen? within the C Programming forums, part of the General Programming Boards category; Originally Posted by mcotter222 I edited the code. Change the LPT1 to the printer your port is in, then try ...
The point of adding that was that it didn't work without it. I tryed windows command prompt, and asked for help on PRINT, and it said I needed the printer location.
My code or the command prompt? Because my code didn't work for me without the thing, and I didn't get a chance to try it with the thing yet.
Interesting... It didn't work for me. Well I will see what happens when I get to a printer (should be around tomorrow).