10850 Posts in 2517 Topics by 1793 members
|Go to End||Next >|
3 February 2009 at 11:11am
I need to set up some report pages and have my client be able to print them to PDF files. Has anyone tried the PDFGeneration module? Or, if you see this Sam, could you shed some light on its usage?
17 August 2010 at 6:26am
i have similar problem does anyone uses the PDF Generation module?
17 August 2010 at 7:38am
That module is not very good. A lot of work to get the requirements in place, and very little return on investment. I spent a good week or two researching the landscape of PDF generation, and finally settled on something decent, but even then you have to be really careful about your markup.. using attributes to define presentation, inline styles, etc. There really aren't any PDF generators out there that are very tolerant of modern layouts.
Let me know if you're interested and I can send you some code.
17 August 2010 at 8:24am
Any chance you'd share it with me too? I'm moving away from the terible FPDF that I have inherited.
17 August 2010 at 6:53pm
I tried using the module too... I couldn't get it to work properly. I ended up using DOMPDF. It has some limitations, though I was quite impressed with it's functionality. We needed PDF generation for a table that spanned several pages with images in some of the cells and it handled it perfectly well.
18 August 2010 at 1:20am
@everyone -- Give me a few days to track down all the code and package it up. It's not exactly a snippet. There are several dependencies and example usages you'll need to see. Keep checking this thread, and I'll get something up soon.
I used DOMPDF with some success. Of all the products I tested, that was the one that gave the most consistent and predictable results. But I still had to basically learn exactly how it wanted the HTML and CSS, set up page breaks where needed, and about a week's worth of various other headaches. I also had to hack it to pieces in order to get SS to autoload the classes (the class names didn't match the file names).. so that was a big mess, too.
But in the end, it got us what we wanted, and we have a really sophisticated application that generates proposals on the fly for clients all over the world. Very cool app: http://www.desalt.net
The link you sent looks familiar. I'd be really surprised if I didn't try it, but I'll take another look.
19 August 2010 at 8:40pm
Thanks Uncle Cheese!. I've been waiting for a nice SS PDF Generator module.
|Go to Top||Next >|