Page 1 of 1
LiveCode BUG printing fields
Posted: Thu Feb 05, 2015 5:53 pm
by paulclaude
With LiveCode 7.0.1, Mac OS X Yosemite, (I don't know if it's the same in previous versions), you can't print correctly a long field, both using revPrintField of revPrintText, or also using "Print Field" from the IDE's menu.
The last page
always duplicate several lines from the previous page, and crop the first line.
The following is only an example. The list is correct and in alphabetical order in the original field, but in the resulting PDF appears corrupted.
I've made many tests with many lists, printing with and without formatting, but the result is the same.
Someone else knows this problem?
Re: LiveCode BUG printing fields
Posted: Thu Feb 05, 2015 7:31 pm
by viro
cant say much about your specific problem, think about attaching your stack...
i sometimes have problems with fields where the begin of the field is cut off (not whole line)
to me it seems as your problem could be the margins?
Re: LiveCode BUG printing fields
Posted: Thu Feb 05, 2015 7:48 pm
by paulclaude
No problem with margins, it's a real bug.
I've made a simple stack only with a "long" field and a button to print it. VoilĂ , the error appears.
This is the code of the button:
Code: Select all
on mouseUp
open printing to pdf specialFolderPath("desktop") & "/test.pdf"
revprinttext fld "Tabella"
close printing
end mouseUp
Very simple. You can use, as I said before, revPrintField or "Print field" of the IDE menu, with the same result.
This is the stack:
https://dl.dropboxusercontent.com/u/155 ... t.livecode
Re: LiveCode BUG printing fields
Posted: Thu Feb 05, 2015 10:54 pm
by Klaus
Hi Paul,
yes, same here!
The lines from -> "VOLGA-DNEPR AIRLINES VI RUSSIA" to "WINGS AIR 1W INDONESIA" are doubled!?
Please consider to report this bug with your example stack:
http://quality.runrev.com
Thanks!
Best
Klaus
Re: LiveCode BUG printing fields
Posted: Fri Feb 06, 2015 10:20 am
by paulclaude
Hi Klaus, I've reported the bug
http://quality.runrev.com/show_bug.cgi?id=14519
I wonder if someone can suggest a temporary workaround, as I must deliver an application to a customer very soon....
Greetings
Paul
Re: LiveCode BUG printing fields
Posted: Fri Feb 06, 2015 10:28 am
by Thierry
paulclaude wrote:
I wonder if someone can suggest a temporary workaround,
as I must deliver an application to a customer very soon....
Paul,
I just tried with 007.0.2.rc.2 and it works fine on my Mavericks Mac.
HTH,
Thierry
Re: LiveCode BUG printing fields
Posted: Fri Feb 06, 2015 11:09 am
by paulclaude
Hi Thierry, that's true! It's my fault beacause I don't use to download RC versions.
I will close the reported bug...
Thanks
Paul
Re: LiveCode BUG printing fields
Posted: Fri Feb 06, 2015 2:07 pm
by Klaus
Oh, sorry, looks like I missed RC2 somehow...
