Truncated Printed Text

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Kevtor
Posts: 15
Joined: Tue Jul 02, 2013 11:51 am

Truncated Printed Text

Post by Kevtor » Fri Nov 21, 2014 6:02 pm

Hi

I populated a text field using:

on mouseUp
put "Ribbon Thickness: " && fld "ribbonThickness" &return&\
"Top Roller: " && fld "topStep" &return&\
"Middle Roller: " && fld "middleStep" &return&\
"Inking Gap: " && fld "inkingGap" &return&\
"Metering Gap: " && fld "meterGap" &return&\
"Compression: " && fld "compression"&&"%" &return&\
"Speed: " && fld "speed" &return&\
"Pressure Right: " && fld "pressureRight" &return&\
"Pressure Left: " && fld "pressureLeft" into fld "result"
put fld "result" into fld "print" of card "print"
end mouseUp

And get:

Ribbon Thickness: 5.1
Top Roller: 126
Middle Roller: 70
Inking Gap: 3.9
Metering Gap: 1.4
Compression: 24.3 %
Speed: 90
Pressure Right: 80
Pressure Left: 85

When I try to print I get:

Ribbon Thic
Top Roll
Middle Ro
Inking G
Metering
Compressio
Speed
Pressure
Pressure

I've tried using revPrintText. revPrintField and put a field on a new card then used the print command to print the card.

What I am doing wrong?

Thanks
Kev

Kevtor
Posts: 15
Joined: Tue Jul 02, 2013 11:51 am

Re: Truncated Printed Text

Post by Kevtor » Sat Nov 22, 2014 8:48 am

Update.

It prints to PDF and then prints to paper properly.

I'm stumped.

Kevtor
Posts: 15
Joined: Tue Jul 02, 2013 11:51 am

Re: Truncated Printed Text

Post by Kevtor » Sun Dec 07, 2014 3:53 am

Someone in another forum in 2010 suggested using the message box as a test.
I entered revPrintText "Hello World abcdefghijklmnopqrstuvwxyz" and it printed out Hello World abcdefg still truncated.
This person said that if it didn't print correctly its a RunRev problem.
I have reinstalled, uninstalled, downloaded again and installed and the problem persists.
Before I report this as a bug can anyone see what I might be doing wrong?
The same problem accured on my work computer so it isn't my home computer.
I am using version 7.0 build 10018 community version if someone wants to try to duplicate my problem.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Truncated Printed Text

Post by jacque » Sun Dec 07, 2014 4:59 pm

Does your script set any printmargins or paper size? It sounds like right margin is too wide. Does it change any of the default printer settings at all?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Kevtor
Posts: 15
Joined: Tue Jul 02, 2013 11:51 am

Re: Truncated Printed Text

Post by Kevtor » Sun Dec 07, 2014 6:34 pm

Hi Jacque,

I don't set any print parameters.
When The Print Dialogue appears I have set the margins to Zero then the text is just moved to the top left corner of the paper and is still truncated.
I can copy the text to the clipboard and send to email ok.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Truncated Printed Text

Post by jacque » Sun Dec 07, 2014 8:37 pm

It sounds like it's time for a bug report then.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Kevtor
Posts: 15
Joined: Tue Jul 02, 2013 11:51 am

Re: Truncated Printed Text

Post by Kevtor » Mon Dec 08, 2014 3:32 am

So, I created an account with the Quality Control Center and then did a search and found that this is a known issue and has been fixed in version 7.02 RC 2.
I'm such a noob that I spent hours beating my head against the wall with this and not knowing to go the the Quality Control Center.
It was inconceivable that I could find a bug.
Now I need to try and find the download for 7.01 C2.
Heheh.

Thanks for the help.

Kev

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Truncated Printed Text

Post by jacque » Mon Dec 08, 2014 6:00 am

Try "Check for updates" in the LiveCode Help menu. I think RC 3 is the latest. Glad you found the problem, if I'd been thinking I would have checked the bug database myself. So you're ahead of me. ;)
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Kevtor
Posts: 15
Joined: Tue Jul 02, 2013 11:51 am

Re: Truncated Printed Text

Post by Kevtor » Mon Dec 08, 2014 10:47 am

As A final update, I downloaded 7.0.1 rc3 and it solved my printing problem.
Hooray! I'm not as lame as I was thinking.

Post Reply