hello please help me how to print my data that sends to the printer hoping for your positive responds....
this is simple code to print directly.
it print, what u write in text1.text.
Don't forget the...
hello thanks for the reply..ahm kindly please give me some example on this im confuse...can i print my data display on the flexgrid then send to the printer?...hoping for your positive responds.
Well, you could do a couple of things...
If you want to keep the graphical look of the grid and the form then it is time to search with your friends (yahoo, google, ask, answers, bing) for vb6 screenshot, vb6 printing screenshot.
However, if you just want to print directly to the printer without all the graphics showing up on the paper and thus using up more ink/toner, then you can use the printer.print method after you loop through the grid while building your string that you are going to print. Then after the .print method, you would want to use the .EndDoc method...
There is another ongoing thread on Direct printing.. You can check there..
Loop thru FlexGrid's Rows build a String and dump the string to printer..