From: Bob D. <bd...@si...> - 2003-09-14 01:57:44
|
Hi, RLIB is very close to being able to do this. In fact, it should be able to do this in a weeks time or so.. I'm working on it now (along with a few other things) In your case you would have 2/3 XML definition files one cover, one main report, and then possible one more for the legal. Take for example the example provided in the manual $rlib = rlib_init($sql_host, $sql_users, $sql_password, $sql_database); rlib_add_query_as($rlib, "select * from example", "example"); rlib_add_report($rlib, "report.xml"); rlib_set_output_format($rlib, $format); rlib_execute($rlib); rlib_finalize($rlib); header( rlib_get_content_type($rlib)); rlib_spool($rlib); We would change it up just a bit $rlib = rlib_init($sql_host, $sql_users, $sql_password, $sql_database); rlib_add_query_as($rlib, "select * from example", "example"); rlib_add_report($rlib, "cover_page.xml"); rlib_add_report($rlib, "main_report.xml"); rlib_add_report($rlib, "legal_stuff.xml"); rlib_set_output_format($rlib, $format); rlib_execute($rlib); rlib_finalize($rlib); header( rlib_get_content_type($rlib)); rlib_spool($rlib); There are a few problems with this however for more complicated stuff.... Like the ability to set rlib internal variable (pageno, line count, detail line count.. ect.. back to one) The other problem is we need to ability to have different main loop queries for the different reports.. Anyway... would you be up for trying a beta of this when its ready? - Bob On Sat, 2003-09-13 at 10:42, A Vision wrote: > This a "can rlib do this" > > I have a report that needs to be deployable in a single PDF. When printed > page 1 must be a cover letter, the rest of the pages must be landscape. > Then one additional page must be appended as a letter with microscopic > legalese. > > Yuck. > > If this is doable, where can I scrounge up an example of multiple page > layouts? > > _________________________________________________________________ > Need more e-mail storage? Get 10MB with Hotmail Extra Storage. > http://join.msn.com/?PAGE=features/es > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users > |