DIGIT-ARC read-only archive · snapshot: July 23, 2026

How to take printouts of Graphics in c using TURBO C 3.0 ?

14 posts · originally from https://geek.digit.in/community/threads/how-to-take-printouts-of-graphics-in-c-using-turbo-c-3-0.25930/

S
suhas_sm Original post #1
Mar 24, 2006 at 2:42 AM
I want to take the printout of the c graphics output using turbo c compiler.
PLS HELP :D
QwertyManiac
Mar 24, 2006 at 11:01 AM
execute the program, at the desired output stage press [Print Screen] button (next to f12 usually). now go to any imaging software and press ctrl+v to paste the image thus accquired there and then print it :)

err, if this was ur query that is.. were u askin how u can code in cpp to print ? then this isnt the soln... :(
RCuber
RCuber #3
Mar 24, 2006 at 11:07 AM
Hmmmm i remember those days when i used to program in Turbo C. If you want to take print out from a dos mode program then you have to do some work. First Run the program, when your desired graphics is selected then hit "print screen" key. next open MS paint and paste it. You will get the image. If you want to make the background white then use fill bucket in MS Paint.I used to take printouts like this when a dos graphic program didnt support a particular printer :D
ilugd
ilugd #4
Mar 24, 2006 at 12:50 PM
doesn't turbo c support winapis??

If it doesn't something like devcpp could be used. It has the req headers to print graphics
RCuber
RCuber #5
Mar 24, 2006 at 12:53 PM
Turbo C is a clasic DOS application. One can take printouts of the program but the graphics is a little challenging. The Print screen method is a simple but effective method.
S
Mar 24, 2006 at 5:19 PM
Hmmm yes thats the way i m doing but there has to be some other way too ;-)
~Phenom~
Mar 24, 2006 at 6:04 PM
hey guys , in XP , output of a C program in graphics mode doesnt support printscreen.
Although u can do it in 98 quite easily.
mediator
Mar 24, 2006 at 6:37 PM
yea in Xp its trouble some...i used to draw the exact o/p in MS PAINT!
S
Mar 24, 2006 at 8:23 PM
mediator said:
yea in Xp its trouble some...i used to draw the exact o/p in MS PAINT!
lmao :D
A
amitgg #10
Mar 25, 2006 at 12:49 AM
mediator said:
yea in Xp its trouble some...i used to draw the exact o/p in MS PAINT!


ooooooooo, poor guy, you could use the following trick.

run ur program,
press alt+enter.
adjust the window size to cover the whole graphic
now print screen and paste......
~Phenom~
~Phenom~ #11
Mar 25, 2006 at 1:30 AM
@amitgg , in XP u cant do that.
printscreen dont work in graphics mode.
M
Maxx32 #12
Jun 18, 2008 at 10:14 PM
You cant do that in XP but Windows 98 can take screenshot of turbo c graphics output
just use Print Screen button and paste in paint
As windows Xp uses higher graphics modules it cant support screenshot for DOS output
New
New #13
Jun 19, 2008 at 9:59 AM
So,what's the solution? Camera?:rolleyes:
dheeraj_kumar
Jun 19, 2008 at 6:03 PM
I dont know, but you can try using SnagIt