How to dump EGA image to printer?

Albert Zhou zhou at brazil.psych.purdue.edu
Wed Nov 21 16:35:14 AEST 1990


There is no universal way of doing this, depending on what kind of printer
you have. Read the printer manual, and it will tell you how to send control
codes to the printer in graphic mode. As for the image on your screen, you
can simply use GetPixel(x,y) to get each pixel color (if you have a color
printer, otherwise, make non-zero color black, and zero white).



More information about the Comp.lang.c mailing list