PDF printing problem

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

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5569
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

PDF printing problem

Post by dunbarx » Mon Oct 15, 2018 9:14 pm

I had mentioned something like this once before, but need help again.

I am trying to print a bunch of line graphics to PDF. If I use the "Print..." menuItem in the "File" menu, and then "Save as PDF" in the dropdown there, I get a pretty decent rendering of the graphics on the card.

But if I

Code: Select all

 open printing to pdf (filePath & ".pdf")
   print this card
 close printing
I get a distorted image in the resultant pdf. Some lines change both weight and position.

Is there a way to use whatever pdf gadget LC uses from the menu when printing to pdf, as opposed to the "open printing to pdf" command? Why would they be different?


Post Reply

Return to “Talking LiveCode”