Print to PDF: Right side of text is truncated
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 9385
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Print to PDF: Right side of text is truncated
You can do this:
and get this:
which is a bit SILLY because LiveCode doesn't work out the pagination.
and get this:
which is a bit SILLY because LiveCode doesn't work out the pagination.
-
- Livecode Opensource Backer
- Posts: 9385
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Print to PDF: Right side of text is truncated
Effectively useless:
Re: Print to PDF: Right side of text is truncated
Wow, that is unpleasant to even look at.
-
- VIP Livecode Opensource Backer
- Posts: 7236
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Print to PDF: Right side of text is truncated
Did you set up the printing parameters? It looks like you need to at least set the printmargins.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Print to PDF: Right side of text is truncated
That wouldn't work for my situation because I'm using revPrintText, not revPrintField.
Anyway, I think I figured out the cause of the truncating, which seems to be avoided if I set the textsize of the field to what I want, instead of messing around with the htmltext of the field.
-
- VIP Livecode Opensource Backer
- Posts: 9836
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Print to PDF: Right side of text is truncated
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 7236
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Print to PDF: Right side of text is truncated
RevPrintText applies the parameters of a field you specify, but I think it still prints using the printer and LC default page printing properties. In other words, control of the page settings is still tied to the printer and LC defaults. The default margins in LC are 1-inch per edge. If you set the printmargins to something else, revPrintText should respect those.
It's been a long time since I used revPrintText but I don't think it's a bug, I think it's a result of not setting the printer defaults before applying the revPrintText command. If setting printmargins doesn't work, then it's a bug.
It's been a long time since I used revPrintText but I don't think it's a bug, I think it's a result of not setting the printer defaults before applying the revPrintText command. If setting printmargins doesn't work, then it's a bug.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com