I wrote a program in C in VC++6 under WinXP, and I need to print the output of the program.
How do I go about doing this?
I have searched and found nothing.
Thank You.
I wrote a program in C in VC++6 under WinXP, and I need to print the output of the program.
How do I go about doing this?
I have searched and found nothing.
Thank You.
could always just hit the print screen button and paste the screen image into microsoft word, cut out all the extra crap... and invert the color so the black becomes white and white becomes black... but thats a lot of work, and i'm sure there is an easier way that i just dont know... but if all else fails and you need it right away, that'll do it.
print screen doesn't work ...
and the image thing wouldn't work out ...
Quote:
Originally posted by JGC84
could always just hit the print screen button and paste the screen image into microsoft word, cut out all the extra crap... and invert the color so the black becomes white and white becomes black... but thats a lot of work, and i'm sure there is an easier way that i just dont know... but if all else fails and you need it right away, that'll do it.
really? i just tried print screen and paste into MS Paint, not word, that would be my brain not functioning correctly.. i would post a nice JPG of it, but strike9 wont let me log in because they suck... but anyway, soon as they let me in i'll post a pic of it.. here are my steps:
1) open MS Paint
2) compile and run your program.
3) press "PrtScn" button on your keyboard
4) bring MS Paint to main focus and hit ctrl + v
5) save as <name>.jpg
that was all w/ Windows XP and VC++ 6.0 from Visual Studio 6.0.. not that it matters because print screen is pretty much a standered function.
That's the thing that I don't want to do (maybe even can't), is there anyway to make it just to print the text?
Quote:
Originally posted by JGC84
really? i just tried print screen and paste into MS Paint, not word, that would be my brain not functioning correctly.. i would post a nice JPG of it, but strike9 wont let me log in because they suck... but anyway, soon as they let me in i'll post a pic of it.. here are my steps:
1) open MS Paint
2) compile and run your program.
3) press "PrtScn" button on your keyboard
4) bring MS Paint to main focus and hit ctrl + v
5) save as <name>.jpg
that was all w/ Windows XP and VC++ 6.0 from Visual Studio 6.0.. not that it matters because print screen is pretty much a standered function.
ok there is no way that i'm aware of to print the output of the program straight out of VC++, but using the cut/paste meathod and MSpaint you can extract black test on a white background easily.. get the screen img (this has been shrunk)
https://www.sharkyforums.com/images/...2003/09/31.jpg
from there you can exteract just the output of the program
https://www.sharkyforums.com/images/...2003/09/32.jpg
then invert the colors so white becomes black and black becomes white giving you
https://www.sharkyforums.com/images/...2003/09/33.jpg
a lot of work, but thats the best way i can come up with.
redirect?
yourprogram > file
print file
maybe send it directly to the printer?
yourprogram > lpt1
(not sure if this works on XP)
the program.exe > text.txt works :) thx.
my printer is connected via USB
Quote:
Originally posted by EverlastingGod
redirect?
yourprogram > file
print file
maybe send it directly to the printer?
yourprogram > lpt1
(not sure if this works on XP)