print document component

Jul 28 2006 11:17 AM
I'm working on billing project. I'm using print document component to print bills.
I'm facing a great problem.  I'm print my data on printdocument component given it to manually x and y position. I've does'nt have any long string. I've lots of lines but it is like rows not paragraph. When I reached at the end of paper if some line remains I want to put another page. For it .net provides e.hasmorepages property, but when i'm using it given the value = true, print document component add infinite pages and print content of 1st page on every page. Give me a soultion for it that i can insert only single page and pring remaining content on it.