LiveCode BUG printing fields

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

LiveCode BUG printing fields

Post by paulclaude » Thu Feb 05, 2015 5:53 pm

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.

Image

I've made many tests with many lists, printing with and without formatting, but the result is the same.

Someone else knows this problem?

viro
Posts: 52
Joined: Fri Jul 05, 2013 6:59 pm

Re: LiveCode BUG printing fields

Post by viro » Thu Feb 05, 2015 7:31 pm

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?
the funniest thing about this particular signature is that by the time you realize it doesn't say anything it's too late to stop reading it

paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

Re: LiveCode BUG printing fields

Post by paulclaude » Thu Feb 05, 2015 7:48 pm

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

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: LiveCode BUG printing fields

Post by Klaus » Thu Feb 05, 2015 10:54 pm

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

paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

Re: LiveCode BUG printing fields

Post by paulclaude » Fri Feb 06, 2015 10:20 am

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

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: LiveCode BUG printing fields

Post by Thierry » Fri Feb 06, 2015 10:28 am

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
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!

paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

Re: LiveCode BUG printing fields

Post by paulclaude » Fri Feb 06, 2015 11:09 am

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

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: LiveCode BUG printing fields

Post by Klaus » Fri Feb 06, 2015 2:07 pm

Oh, sorry, looks like I missed RC2 somehow... :?

Post Reply