From: Seth R. <sre...@sa...> - 2005-09-21 19:04:28
|
Reportlab will do all of that for you automatically. Check out the high level PLATYPUS engine on pg. 58 of the user guide: http://reportlab.org/os_documentation.html It even terms your documents contents as "Flowables" because they get "flowed" into the document. It will handle page and table breaks for you. -Seth On Wed, 2005-09-21 at 14:44 -0400, Eduardo Elgueta wrote: > Tim, > > Thank you for your feed-back. > > I was looking for a report solution. From what I've seen of reportlab, > it's intended to be used as a page layout tool. I mean, (it seems) I > have to do pagination, table splitting and all of those tedious work. > Not that different from what I already have with pure simple html. I > think it's to much work switching from a flow display (html) to a > position based display (reportlab). I'm probably wrong on this, but > that's what I saw in the documentation. > > May be you can point me to a simple report sample done with reportlab. > The samples I saw at reportlab's site are single page form oriented, > not multipage reports. > > Ed. > > > Tim Roberts escribió: > > On Tue, 20 Sep 2005 17:07:12 -0400, Eduardo Elgueta > > <eel...@na...> wrote: > > > > > Thank you all for your answers. > > > > > > The reportlab/pdf solution doesn't seem quite easy to implement, > > > just as I thought. Besides, I see a lot of trouble ahead > > > downloading/compiling/configuring/learning reportlab and a bunch > > > of other support libraries. > > > > > > > > > I think you are dramatically overestimating the effort involved. > > Reportlab is a fabulous solution for web printing, in part because > > one can guarantee that the output looks the same for every user of > > your web site, regardless of what operating system or browser they > > are using. > > > > There is really no compilation or configuration to be done. > > Reportlab is entirely Python (with the exception of one optional > > DLL, which can be downloaded in binary form), and configuration > > consists of "python setup.py install". > > > > There is no free lunch, of course. There is no "magic reporting > > fairy" who can wave her magic wand and instantly give you a > > reporting solution. However, there are a bundle of excellent > > samples in the Reportlab distribution, and the user community on the > > mailing list > > (http://two.pairlist.net/mailman/listinfo/reportlab-users) is > > fantastic. One of my favorite samples is a simple script which > > colorizes and "pretty-prints" Python code. I use it regularly. > > > > HTML is about 80% of the way to being the perfect report generation > > language, but that missing 20% just make it way too unpredictable > > for general use. PDFs solve that problem, and Reportlab is a great > > way to create PDFs. > > > > You have to make your own decisions, of course, but I don't think > > you should discard Reportlab until you've tried it a couple of > > times. > > > > -- > Eduardo Elgueta > Senior Consultant > Navix > > correo/email: eel...@na... > teléfono/phone: +56 (2) 381-1467 > celular/mobile: +56 (9) 821-0033 > web: www.navix.cl > > Av. Once de Septiembre 1945 Of. 502 > Providencia 750-0503 > Santiago, Chile -- Seth Remington SaberLogic, LLC 661-B Weber Drive Wadsworth, Ohio 44281 Phone: (330)335-6442 Fax: (330)336-8559 |