Printing Data grid lines to pdf

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Jhonbhai
Posts: 1
Joined: Thu Jun 27, 2019 8:22 am

Printing Data grid lines to pdf

Post by Jhonbhai » Thu Jun 27, 2019 8:25 am

Hello everyone,,
I'm trying to find a way to print out the text lines of my card into a .pdf file.

For instance, printing out lines 1 through 50 to card 1 work.

However, what I need is the ability to print out all of the lines in my string variable to separate pages in my .pdf file.

I have one card with a text field entry. I imagine what I would need to do is loop through the lines and when it reaches 50 print to pdf for that card.
Increment the card counter and then loop through the next 50 lines and print those to pdf after I emptied the field in my card etc etc.

Seems a bit overkill and I'm hoping there is an easier way.
Any thoughts on the best method?

Thanks!

Post Reply

Return to “Talking LiveCode”