ActivePDF-like Reports w/ Apache?
Martin71a asks: "I have recently been tasked with managing our website. I come from a mainframe and VB background and have a team of 3 people to work with. Our manager is having us switch from IIS to an Apache web server later this year. In the more immediate future, I need a solution to distribute print to our customers through our website. Previously, we had developed our reports using HTML, but we need more professional looking reports with more basic printing functionality, such as paging, built in. We have been testing ActivePDF in which we develop the reports in Crystal then use ActivePDF to send [those reports] to a virtual PDF printer, which allows the user to view them. We like the solution because it doesn't require our customer to download anything, other than a PDF viewer. We've also experimented with Crystal Enterprise, although it was an older version that required either a Java plug-in, or ActiveX download. My concern is that AcitvePDF does not appear to be supported for an Apache server. Does any know of a similar solution that would be appropriate for an Apache server?"
Use PHP for your report generation and use its PDFlib support to output the final result to a PDF file, which you then shuffle off to the user. Et voila!
Damien
http://www.fpdf.org/ it is a completely contained PDF system for PHP. I haven't used it a lot but I've heard it is a lot more sane to use than PDF Lib plus it doesn't require you to compile in the library.
You might look into Stellent, we started using it here at my office and it works pretty good.
The phone is ringing, I cannot linger, watch out butt here comes my finger.
There are tons of Perl, PHP, and other packages out there for creating PDF files from some sort of input. I found everything you'd need here at http://sourceforge.net/search/. Just do a search for "PDF" like I did. I *know* you'll find something there. Sourceforge.net and google.com are your friends! Hope this helps!
Nobodies Prefect
Tidbits for Techs Technology Blog
I work at a large bank. We had reports we needed to produce in PDF format with nice graphics. We tried many solutions including print-to-HTML from Excel, Crystal Reports, Ephiphany, and Insightful's S-Plus.
The best solution for a compact format was a scripted solution (VBA / COM) that prints XLS, DOC, PPT, etc. to a file with thus creating a postscript file, then using ghostscript to convert
S-Plus required lots of programming and display was not compact enough. Ephiphany likewise. Crystal has a HUGE HUGE IMMENSE VAST WAY-BIG Learning curve and still didn't do what we wanted. Alas.
For all it's worth.
-- Kevin J. Rice, justanyone.com
Unitarian Church: Freethinkers Congregate!
Take a look at Apache FOP, although your starting documents would have to be XML. The pros: buzzword compliant, and the project has a name similar to an old Soundgarden song!!
Built on our popular Java PDF library, the Report Writer adds functionality including:
I've been using this for the past year and its worked great. I use it with apache, php and mysql. A department has begun using it for their reports and is very happy.
http://www.fpdf.org/
I use a combination of PHP and pdflatex for report generation. I don't think there is a solution that gets you more "professional looking" output.
Have you evaluated CSS for the output?
It's possible to switch "media" (from screen to print), and do absolute layout, without a second library.
No vector art, but for layout, it can be done.
S
If I understand your requirements correctly, you may want to investigate the use of Python (in the form of Apache's mod_python) along with the ReportLab tools.
You can find a nice article detailing its usage here