Question
Printing dynamic text partially working
Hi there!
I implemented a printing function which is working nice even for multiple pages.
Problem is as follows...
Say we have a text 100 lines long.
Each page can hold 80 lines.
We should have:
Page 1 = from line 1 to line 80
Page 2 = from line 81 to line 100
Instead, I get:
Page 1 = from line 1 to line 80
Page 2 = from line 20 to line 100 !!!
i.e. lines 20 to 80 are printed twice!
I think problem is in maxScroll but can't find the mistake...
Please, help me find it!!! It's very urgent (deadline is Monday 31st, 4:00PM EDT)
Many thanks in advance.
Best regards,
Gerry
I implemented a printing function which is working nice even for multiple pages.
Problem is as follows...
Say we have a text 100 lines long.
Each page can hold 80 lines.
We should have:
Page 1 = from line 1 to line 80
Page 2 = from line 81 to line 100
Instead, I get:
Page 1 = from line 1 to line 80
Page 2 = from line 20 to line 100 !!!
i.e. lines 20 to 80 are printed twice!
I think problem is in maxScroll but can't find the mistake...
Please, help me find it!!! It's very urgent (deadline is Monday 31st, 4:00PM EDT)
Many thanks in advance.
Best regards,
Gerry