Printing Field contents in RunRev Enterprise 4.5.5

Mark Schonewille m.schonewille at economy-x-talk.com
Mon Aug 16 03:10:55 EDT 2010


Hi Brent,

Your scripts seem correct to me. What happenes if you execute

revPrintText "Hello World"

from the message box? I get a page with that text in both Rev 4.0 and Rev 4.5.

Are you using Rev 4.5? This is still in beta stage. You might want to use 4.0 instead.

Which operating system are you using?

Are you sure the field that is being printed is on the current card?

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

From 15th August, we'll have time for new projects! Be the first in line and contact me now!

Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce

On 16 aug 2010, at 04:38, Bsummerton wrote:

> 
> 
> Thank you for suggestions but I am still having trouble.
> 
> I have a Stack that has thirty Cards containing multiple choice questions.  On Four of these thirty Cards I have a Field named "Results"  that contains the users answers for each section.  On each of the four Cards that has the field "Results" I have a Print Button.  I have tried the following scripts to try and print on a Networked Printer the contents of the Field "Results,"  to no avail.  What am I doing wrong?
> 
> 
> on Mouseup
> print card "Output"
> end Mouseup
> (Used this as a TEST - This prints the Card to the printer successfully)
> 
> 
> on Mouseup
> revPrintText "Hello world"
> End Mouseup
> (Used this as a TEST - This prints a Blank Page)
> 
> 
> on Mouseup
> revPrintField the name of field "Results"
> end mouseup
> (This continues to print a Blank Page)
> 
> 
> on Mouseup
> revPrintText (the htmlText of field "Results"),"Results",the time && the date
> End Mouseup
> (This continues to print a Blank Page)
> 
> I have checked that the Field "Results" contains text that is Black and not White.  Can a Stack only have one Field Named "Results" within its Cards?  I am using a Mac and exporting to Mac (which prints fine) but the Windows Standalone continues to print a Blank Page.  Am using Enterprise 4.5.5
> 
> If YOU were wanting to print the text from a Field named "Results" what specifically would YOU script: 
> 
> Kind regards, Brent.




More information about the Use-livecode mailing list