Page 1 of 1

Truncated Printed Text

Posted: Fri Nov 21, 2014 6:02 pm
by Kevtor
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

Re: Truncated Printed Text

Posted: Sat Nov 22, 2014 8:48 am
by Kevtor
Update.

It prints to PDF and then prints to paper properly.

I'm stumped.

Re: Truncated Printed Text

Posted: Sun Dec 07, 2014 3:53 am
by Kevtor
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.

Re: Truncated Printed Text

Posted: Sun Dec 07, 2014 4:59 pm
by jacque
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?

Re: Truncated Printed Text

Posted: Sun Dec 07, 2014 6:34 pm
by Kevtor
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.

Re: Truncated Printed Text

Posted: Sun Dec 07, 2014 8:37 pm
by jacque
It sounds like it's time for a bug report then.

Re: Truncated Printed Text

Posted: Mon Dec 08, 2014 3:32 am
by Kevtor
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

Re: Truncated Printed Text

Posted: Mon Dec 08, 2014 6:00 am
by jacque
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. ;)

Re: Truncated Printed Text

Posted: Mon Dec 08, 2014 10:47 am
by Kevtor
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.