Hi Guys

I am making the trial balance report using VB and TXT file.

I am using FILE OBJECT to send te information from database to txt file. Then I am using RICH TEXT BOX for filling the information and showing this to user and printing I have these two problems

Q1.)
I have no idea how we can do our formatting according to the rows and cols of dot matrix printer of user. I mean to say how should I set the space between variout fields so that it is according to the printer rows and cols.

Q2.) I have 200 items in the invoice and in the text file these appear witout any space but in the invoice it is actually two pages and the 25% of page is the invoice header. SO Can you please tell me how can I print on the same place when the page finishes and new page starts.


Any help will be much apperciated!