Re: question about printing
Think about what you're doing. You are already calling DrawString and you are telling it what to print and where. If you want to print three lines then does it not follow that you would simply call DrawString three times with different text and a different location each time? If you were going to use just one Font then you could call DrawString once and simply include the line breaks in the String, just like in a Label or TextBox. Just like a Label or TextBox though, all the text passed to DrawString is formatted the same way. If you want multiple formats then you need multiple calls.
Re: question about printing
thanks jmcilhinney, actually i did your suggestion even before i posted this question. But the thing is, as i was reading forums and stuff about vb, i remember one saying that there are other possible and simple codes you can use in creating your db. I might have written my question wrong. It should had been "shorter or simple code i could use in creating a three line printed text". I guess there are none.(=
Thank you so much jmcilhinney.(=
Re: question about printing
No, not really. Like I said, if the text was all to be formatted the same way then you could simply draw one String containing line breaks but each DrawString call can only use a single format. As you need at least two formats, probably three by the looks, you will need at two or three calls.