|
-
Mako Shark
printing the output of a program written in VC++6 under WinXP
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.
Activation? What activation?
 Originally Posted by Geekkit (from ubuntu forums regarding 'goto' statement)
Yep it sure does. So does crack cocaine. Existence is not a valid endorsement for being acceptable.
 Originally Posted by Linus Torvalds
Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it 
-
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.
ACK I think i blew it up...
-
Mako Shark
print screen doesn't work ...
and the image thing wouldn't work out ...
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.
Last edited by slavik; 09-09-2003 at 03:29 PM.
Activation? What activation?
 Originally Posted by Geekkit (from ubuntu forums regarding 'goto' statement)
Yep it sure does. So does crack cocaine. Existence is not a valid endorsement for being acceptable.
 Originally Posted by Linus Torvalds
Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror 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.
ACK I think i blew it up...
-
Mako Shark
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?
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.
Activation? What activation?
 Originally Posted by Geekkit (from ubuntu forums regarding 'goto' statement)
Yep it sure does. So does crack cocaine. Existence is not a valid endorsement for being acceptable.
 Originally Posted by Linus Torvalds
Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it 
-
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)
from there you can exteract just the output of the program

then invert the colors so white becomes black and black becomes white giving you
a lot of work, but thats the best way i can come up with.
ACK I think i blew it up...
-
Hammerhead Shark
redirect?
yourprogram > file
print file
maybe send it directly to the printer?
yourprogram > lpt1
(not sure if this works on XP)
Stay cool
and be somebody's fool this year
-
Mako Shark
the program.exe > text.txt works thx.
my printer is connected via USB
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)
Last edited by slavik; 09-11-2003 at 01:46 PM.
Activation? What activation?
 Originally Posted by Geekkit (from ubuntu forums regarding 'goto' statement)
Yep it sure does. So does crack cocaine. Existence is not a valid endorsement for being acceptable.
 Originally Posted by Linus Torvalds
Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|