Click here to Skip to main content
15,906,708 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have set the e.HasMorePages=true but it doesn't print the other records to the next page. It just print's first page.
Posted

HasMorePages just forces another call to your PrintPage event handler code. It's up to your code to determine how much to put on each page and track what and been printed already.

Sorry I can't really give more information. You haven't provided enough details on the problem and provided a code snippet of your PrintPage handler to determine what's going on.
 
Share this answer
 
I have for example 60 records, and i want to print them with print document. These records expand more than one page. It must print the other records on the next page. How can i do that?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900