Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with printing dynamically

Status
Not open for further replies.

aspro

Programmer
Jan 22, 2003
69
AU
I have windows forms that are filled in and saved in a database-question and answer. When the print option is chosen by the user, the database spits out the data and it is printed using a for loop to increment the x,y co-ordinates. The problem is, my margins of 100x4 are not working and i cannot set the hasmorepages because i do not know how many pages there will be. Is there a way to just print and have the code stop at the margin and continue ontot eh next page. Or even determine the size of the total text before printing. Any help would be great.

Thanks in advance,
aspro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top