The owner of a selected control - a mystery

Peter M. Brigham pmbrig at
Sun Feb 22 09:57:57 EST 2015

On Feb 21, 2015, at 3:14 PM, J. Landman Gay wrote:

> On 2/21/2015 10:11 AM, Graham Samuel wrote:
>> 1. When you print to a pdf file, you often get a blank page. I have
>> not yet found that the solution offered (putting a ‘print break’ into
>> the script) works for me.
> If the bounds of the printout overrun the available print area, LC will push the content down to another page. It sounds like you may have margins at either the top or bottom of the page that are too large to accomodate the height of the printout.
> You can set the margins to a smaller number, or use the "print into rect" syntax to scale the output to fit. Remember when dealing with margins that the margins represent the amount of space around the rect of the card itself. If your fields or other controls are not at the very edges of the card, then they will be inset more than just the margin amounts.

Because of this last point, when I print to PDF I always arrange my field(s) on the card so the margins are what I want, and then set the printmargins to 0. That way there's no guesswork.

-- Peter

Peter M. Brigham
pmbrig at

More information about the Use-livecode mailing list