RevPrintField & print card

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
KennyR
Posts: 256
Joined: Thu Jan 19, 2012 4:25 am

RevPrintField & print card

Post by KennyR » Wed Jul 18, 2012 3:40 pm

okay, I have been working with a problem for the past few days and finally broke down to see if anyone could help. I have a small data entry program that I have written and when the user gets through entering data, the final page allows them to print what data they have submitted. It is simply a 800x600 card, (size of standard paper obviously), and it has one text field for the submitted data to reside in and above that is two label fields that have the company name and address. Question I have is, I need to use the revPrintField command to print the text that is not able to be seen on the card, (that resides in the scrolling text field), AND I need to print the header ,(or two label fields) that reside on the card. I have tried grouping the label fields with the scrolling text field, but when I scroll the text field, the label fields stay stationary and the text scrolls over it. (Frustrating)! Any ideas?

KennyR
Posts: 256
Joined: Thu Jan 19, 2012 4:25 am

Re: RevPrintField & print card

Post by KennyR » Wed Jul 18, 2012 4:54 pm

Maybe I should ask it this way...how or where can I read about using labels and text entry fields within a scrolling text field? In other words, I want to group the scrolling text field with the labels and text entry fields so that they scroll with the scrolling text field. This way, I am only attempting to print one field...also, I am attempting to make this program for the windows environment if that helps...

donryan
Posts: 32
Joined: Mon Jul 23, 2012 1:09 pm

Re: RevPrintField & print card

Post by donryan » Sun Sep 23, 2012 6:32 pm

KennyR, did you ever get this figured out? I'm trying to do the same thing too.
LiveCode 5.5.3 -- OS X 10.8.2

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10324
Joined: Wed May 06, 2009 2:28 pm

Re: RevPrintField & print card

Post by dunbarx » Sun Sep 23, 2012 8:19 pm

Can you collect your header data and the field data, format it with returns, and use the "revPrintText" command?

I assume the field has more than a page worth of text, because in that case you could format a card and print that.

I miss the old HC report feature. There is such a thing (revPrintReport) still alive in LC, but I think you have to launch it by hand. Read about this in the dictionary.

Craig Newman

Post Reply