Report printing

Roger Eller roger.e.eller at sealedair.com
Sat Aug 31 09:51:45 EDT 2013


I would recommend using a substack, sized as a page, and layout your report
there.  Lock screen and loop through all the cards to populate and format
the report stack, then setup the page for printing.  Also, great advice
exists in the archives.

http://www.mail-archive.com/use-livecode@lists.runrev.com/msg40165.html

~Roger
On Aug 31, 2013 6:31 AM, "Philip Hudson" <phil.hudson at iname.com> wrote:

> 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
>
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>



More information about the use-livecode mailing list