Page 1 of 1
Printing multiple pages
Posted: Mon Jun 04, 2012 5:03 am
by Newbie4
I build all my text and data into a scrolling field. Then I put that field on another card that also contains a header field with a name on it. When I go to print the card only the first page prints. (It is also shortened - the text does not go to the bottom of the card).
Code: Select all
put the field "myText" into field "printText" on card "printCard"
print card "printCard"
1. How can I get it to print the rest of the pages?
2. How can get it to print to the bottom of the page?
3. How can I better position my header field?
Thanks
Re: Printing multiple pages
Posted: Mon Jun 04, 2012 9:24 am
by Mark
Hi,
Do you mean that the text in the field is too long to fit on one card? The easiest way to solve that is to use the revPrintField command. If you read about it in the dictionary, you will see how you can add a header and other useful features.
Kind regards,
Mark
Re: Printing multiple pages
Posted: Mon Jun 04, 2012 3:00 pm
by dunbarx
Newbie.
Because the text in the scrolling field goes beyond (perhaps far beyond) what is visible, LiveCode will not automatically extract that unseen data and print it.
Mark's post about the "revPrintField" command is the answer, and it is important that you see the difference. One command takes field data and prints it, and it is unimportant what is visually shown in that field on a card. The other just prints a card, and it is unimportant what is contained in the field.
Craig Newman
Re: Printing multiple pages
Posted: Mon Jun 04, 2012 5:20 pm
by Newbie4
I understand now. You explained it very nicely, Thank you