I know. I can now print multiple pages. I can start on the page on every Y coordinate. I need now to know where it ends. So that my program can continue with the other info that must be on the same group of pages.
Now I have about 15 different print jobs that continues printing takes a new page if there is not enough room to fit on that page. but al that info is just printed. e.graphics.drawstring and images. Now I have rtf but I don't have the ending Y.
It is exactly the same. Every time you ptint a line you need to use the font details of the text on that line to calculate the Y-increment. If you are using multiple fonts on a line then you would use the font with the largest character height.