Report printing

Philip Hudson phil.hudson at iname.com
Sat Aug 31 06:30:23 EDT 2013


LiveCode newbie but long-time HyperCard dev here (XFCNs, network IPC,  
etc... I'd call myself a HC expert).

Trying to do a very plain-vanilla report of a very plain-vanilla stack- 
as-database, a library catalog with five fields per card. I've looked  
and looked and all I've gleaned is that HC's just-what-I-need  
reporting is gone from LiveCode, that "open printing" remains, and  
that's about it. I've surfed and surfed, on two separate days just to  
make sure it wasn't temporarily misplaced google-fu that was holding  
me back.

How do I print a five-column report based on a stack of five-field  
cards, one card's data per row? No text styling or formatting  
required, no borders or backgrounds, no groups or summaries, just a  
straight flat printout.

I *think* I need to be looking at "revPrintText", but I don't see  
exactly how to apply it. I fear that I may need to set up clipping  
rectangles both per-field and per-row, incrementing height values as I  
iterate over the cards -- surely not? Seems terribly low-level for a  
tool like LiveCode.

At one point I thought I might be able to build an HTML table in  
memory but I see that table/tr/th/td are not supported by revPrintText.

All help gratefully received.

It is wonderful to be back in the world of xCard :-)

--
Phil Hudson                  http://hudson-it.no-ip.biz
@UWascalWabbit                 PGP/GnuPG ID: 0x887DCA63





More information about the use-livecode mailing list