Slashdot Mirror


Reporting Functionality for Web Applications?

Geoffrey Wiseman asks: "I'm considering my options for reporting functionality in a web application. Part of the problem stems from the fact that I'm not aware of a good solution for reporting on any web platform. It may well exist, but I haven't seen one yet. So let's start with the general questions first: I need the ability to build reports from data. The formatting has to be pretty solid, including the ability to make use of appropriate fonts and page breaks. Further, I'll likely need to do some batch reporting, so it has to be able to generate, say, a few hundred pages of reports, with formatting, in a reasonable time frame. That makes HTML and browser printing a little ... underpowered."

"It's not vital that the reports be printed from the client machine (as opposed to the servers), but that would be preferable, for flexibility. At the very least, the person initiating the reporting should be able to choose an appropriate network printer on the server's network, but ideally a client network printer would be better.

Of course it would be nice if the reports were relatively easy to build; I would prefer not to have to write a ton of source to gather and format data. I'd prefer not to have to write any, really. The kind of drag-and-drop report builders you get with something like Microsoft Access would be nice, although it's not a requirement.

First of all, what are the thoughts and solutions on this general problem space? What tools can I make use of to really do this kind of thing well in a web application space.

Secondly, considering that I'd prefer to make use of J2EE for the project, what are some of my options for integration with J2EE. It would be nice if the reporting software could integrate with the object model rather than the database, so that I could re-use business logic. Not necessarily critical, but definitely a nice-to-have feature."

164 comments

  1. Use PDFLib by Anonymous Coward · · Score: 1

    Having faced a similar situation myself, I ended up using PDFlib. It's a nice high level API for generating PDFs on the fly. Now my clients can get printer quality reports generated for them dynamically off the web. I used it in conjunction with Perl. But it supports bindings to other languages (including Java) as well. It's not free, but it's quite affordable compared to most other PDF generation software out there.

  2. For Java based PDF generation try iText by Anonymous Coward · · Score: 1

    Have a look at iText for generating pdf in a Java environment. It isn't going to give you the 'drag and drop' report building, but it seems to be one of the most capable pdf libraries for Java.

  3. Re:Not Difficult - Crystal Reports by Anonymous Coward · · Score: 1

    Definatly Crystap reports. I have used it for reporting off of text files , fox pro databases, SQL, custom databases, etc... Easy to use, lot of re-usuability for search and reporting functions, fully automated if you do it right, able to publish to web, on, and on , and on....... Hey, can you help me out and tell me if there is a program out there to copy files.

  4. Re:Long printed reports are obsolete, deal with it by Anonymous Coward · · Score: 2

    Welcome to our planet. You'll find the grass green, the sky blue and the clouds white n fluffy. Rainfall varies dependent on location and most of the natives are friendly. You'll find our reality a little different than what your use to, deal with it.
    I hope you enjoy you stay on our little blue world.

  5. Crystal Reports by Anonymous Coward · · Score: 2
    I've had extensive experience with web-based reporting solutions (implemented Crystal as part of a major CRM package and did extensive research on all the others, *nix and MS based). Just because you're doing web reporting doesn't mean you have to use HTML. And web-based reporting it's a helluva easy distribution solution. Crystal is probably your only good bet. Their licensing is steep if you have a need to go beyond their basic license, but it scales well and has support for just about every database solution you can think of.

    You can implement two basic kinds of reports. Pre-generated report files, a link to which opens Crystal's web-based viewer(Java, ActiveX or HTML). and custom-data reports which allow you to modify the data displayed based on input from the web page (on-they-fly modification, replaccement of the SQL) as well as reports (the format of which) is generated on the fly. You can also (from the web) export(in just about any format you could want) and print. All formatting, etc. is preserved(when not using the HTML viewer).

    And of course, Crystal Reports generation creation tool for Reports is very nice. better than any other I've seen and the only one useable by non-tech savvy people. Of course, if you're wedded to a *nix-based solution, you're pretty much left to code your own, and god forbid someone not of your programming staff needs to generate the report formatting.

    1. Re:Crystal Reports by CodeMunch · · Score: 1
      I'm glad I'm not alone in this world - I really enjoyed that option althoughI wish they woulda had more music selections under rock or changed the selection more often. In two years, I had called about 10 separate times (v7 CRPE was a PITA on the web) the rock lineup had changed once.

      --Clay

    2. Re:Crystal Reports by warnerve · · Score: 1

      I imagine if you start off with Crystal 8 everything will be alright. The previous Crystal versions really got under my skin and upgrading from one version to another was a big pain. All i got to say is beware of crpe32.dll. Never been a more accurately named dll in my opinion.

    3. Re:Crystal Reports by Mike+Ox · · Score: 1

      I was dissappointed when I didn't hear a "dirty south" option.

  6. What really scares me by Anonymous Coward · · Score: 2

    What really scares me about this question is the request that the solution somehow use J2EE. The merits of J2EE aside this statement tells me that the person is more interested in finding a interesting problem for this exciting new solution that they have. This backassward approach to IT is what gets so many projects into trouble. The analogy is buying the biggest, baddest hammer in the world cause all of the market reports and trade publications say it is the best hammer to be had bar none, and then trying to assemble electronics with it. If you want to solve this problem 1) Define the problem 2) Select a possible solution 3) Examine the solution to see if it is reasonable in your enviroment 4) Repeat steps 2 and 3 as necessary 5) Confirm that the problem is still the same as before, if not repeat steps 1 - 5 6) Select an apporpriate technological solution to the problem 7) Confirm that the problem is still the same as before, repeats steps 1 - 7 if not 8) Implement the solution. 9 Confirm your implementation solves the problem that you originally were trying to solve. If not check to make sure that problem stil exists and if so, and you have not solved it repeat steps 1-8

    1. Re:What really scares me by diathesis · · Score: 1
      Fair enough.

      I am certainly interested in making use of J2EE because it's an environment I enjoy working in; there are also some other solid reasons for considering it for this project.

      That said, I'm mostly looking for a good solution for the problem, and reporting is only one facet of that, and I also have to consider the core competencies of some of the people who may or may not be involved in the project.

      Given the general MS bias of the most direct client (and the web requirement that has nothing to do with the reporting side), ASP is also a strong candidate.

      Ultimately, however, it doesn't look as if I'm going to have to make architectural choices based on the reporting. There's been a number of interesting comments on PDF generation (which was a consideration, but I'll have to do some performance testing) and recommendations for more report generation software than I have a reasonable chance of reviewing before I have to make a decision. Most of these will operate on more than one platform and more than one development environment.

      Does that remove some of your fear about the way I phrased the question?

  7. Ultimate Solution by Anonymous Coward · · Score: 3

    Please read this post in Pakistani accent.

    First of all, all of the solutions being mentioned here are useless if you need to genrate more than a few hundred pages per report. Apache FOP for instance explodes at 60-100 pages depending on content (Any bad xml/xsl transform tool will do that to you, its called running out of heap by way of using xsl on a huge xml document). If money is no object, I suggest you go for Actuate (http://www.actuate.com/) They have the best reporting server solution out there, it allows complete formatting control with a GUI builder, support for a VBScript like language in addition to Java and extremely neat control over data sources. From my experience extremely scalable too. I generate over 3 gigabytes of PDF reports every night for hundreds of clients in addition to an interactive report generation system that creates PDF output on the fly.

    If money is an issue (what!! you cant afford a $80K/Processor 8 Processor recommended solution? what are you working for? a .gone?), you need to stick to your code monkeying skills, PDF format is documented very nicely by Adobe, its pretty straight forward. Write a C/C++ deamon that listens for messages on a queuing server and generates PDF files on the fly based on message queue parameters, records its activity in a table and listens to the queue again. This works for both interactive and batch mode operations, your servlets or cgi or php or perl scripts will look up the database for finsihed reports and their PDF locations on the file server, stream it over to the browser as is. As for queuing solution you can use MSMQ, MQSeries or even a home grown database base queueing engine which won't be asynchronous but will do the job if you create a thread that checks a queue table in a dbms every so often and does the trick.

    Hope I helped you solve the problem
    If not, give me a shout at optimizer@hotpotatoesmail.com and I will be happy to assist you.
    You will need to be able to wire money to Pakistan :) To email me, remove potatoes from my address.

    Faraz Babar

  8. Something at Linux World by Jeff+Knox · · Score: 1

    There was a company at linux world that had had a reporting tool that did just this. They were across from the Zeus booth and some remote windows access software company. Between them and the bordland pavallion. I forgot what they were called though, sorry. If i think of it, ill make another post.

    --
    Jeff Knox
  9. Re:Not Difficult by sql*kitten · · Score: 2

    Not to mention Oracle Reports.

  10. Re:Actuate by Samus · · Score: 1

    I looked into this and for a small company actuate is way out of budget. Its been a while but I believe the cost was well over 10K per cpu. I just remember that purchasing that product would have cost more than the development of the rest of the project.

    "What are the three words guaranteed to humiliate men everywhere?

    --
    In Republican America phones tap you.
  11. Nicely printed output with html - it's possible by fizbin · · Score: 1

    If you don't mind throwing combatibility with pre-6 netscape browsers and pre-5 ie browsers out the window, it's quite possible.

    Okay, I know I'm plugging my own resume, but I found that I could do CSS tricks with http://www.math.jhu.edu/~martind/resume.html to make certain that my resume printed just the way I wanted it to from ie 5.x browsers (which were the most common in the HR departments I was targetting). Remember that a resume's purpose is to get you past the HR drones; they will either print it out and hand (or fax) it to the person who'd you would actually be working for, or ignore it entirely. In a few very rare cases, I've seen HR departments clued enough to send resumes as email attachments, but not before first converting them to Word and trashing all the formatting anyway. Therefore, ie5-specific CSS in a resume isn't that big a deal.

    Not only that, but it wasn't hard to include the necessary extra xml-foo so that office 2000 would load the html as a word doc. with all the borders, etc. set correctly. This made keeping the html, pdf, plain text, and doc formats of my resume in sync quite easy - I'd update the html from anywhere, and use lynx -dump to give me the plain text. I'd then walk over to a windows machine that had the full office 2000 suite on it, and load that page up in ie5. Print to file from ie5 to generate postscript, and also load up http://math.jhu.edu/~martind/resume2k.doc in Word (that file's just a symbolic link to the html). Save the Word doc. in office 95 format and ftp/scp the postscript and '95 doc format back to the server. Then use ps2pdf on the server to turn the postscript version into pdf.

    It got a bit more complicated than that for a while - inserting pdfmark stuff into the postscript so that hyperlinks worked in the pdf file - but basically, that's it. (Maintenance of the multiple separate versions has lagged since I landed a job back in August - I only generated the most recent files a few months ago to get recruiters off my back)

  12. Use JReport from JInfonet by Chevyboy · · Score: 2

    This tool can generate report in html, text, pdf, excel, rtf and other formats. I use it for a big intranet project and it works perfectly.

  13. Re:Long printed reports are obsolete, deal with it by Jeffrey+Baker · · Score: 2

    Welcome to MY planet, jackass. The trees on my planet sink CO2, produce O2, provide habitat directly or indirectly for most known land animal species, hold the soil in place, and generally keep the ecosystem humming along. Chopping them up for reports about some business, which will have no lasting value for humanity, is not an appropriate use of trees.

  14. Re:Long printed reports are obsolete, deal with it by Jeffrey+Baker · · Score: 2
    Hey, I'm trying to do my part. My computer averages 10W power consumption, which I believe to be on the left tail of the power consumption histogram. You're right about the energy: the US uses way too much energy, and it generates it in too-dirty ways. I'm all for nuclear fission, thermal solar, and wind. I abhor coal, oil, and natural gas generation. But, I don't currently have the billions of dollars, nor the political pull required to get that stuff changed. What I can do is advocate paperless reports.

    I'd like to see the numbers on it, since you are interested. How much fuel is required to haul a tree to the paper mill? Produce the paper? Ship the paper to retail and the to the customer? Then what, is the above poster going to pay fedex to burn massive amounts of jet fuel to overnight the precious report somewhere?

    This useless waste of energy has to stop. Check out today's SF Chronicle: Californians use 15 megawatts of power just to stir the water in their fucking swimming pools. WHAT THE FUCK ARE WE DOING WASTING SO MUCH ENERGY?!?!

  15. Actuate by Jeffrey+Baker · · Score: 5
    Sounds like you want Actuate e.Reporting Suite. Hopefully in the future you will realize that 1 second spent with Google is equivalent to 1000 Ask Slashdot posts.

    Anyway my personal opinion is that HTML is wrong wrong wrong for this stuff. Generate TeX output and convert to postscript, or *roff, or generate postscript directly. If the target is dead trees you should use dead-tree-era technology.

    1. Re:Actuate by diathesis · · Score: 1

      Acutate was actually topping my list on the J2EE side (based on some threads on the Java Dev Connection), but I was hoping for opinions based on experience, as well as solutions outside of the J2EE space, and the kind of commentary that a forum like this can generate. There's a lot of interesting commentary in this thread already.

  16. Re:Long printed reports are obsolete, deal with it by Moonwick · · Score: 1

    Fortunately, and it seems you don't quite realize this, trees are an incredibly renewable resource. We're not going to run out anytime soon...

    --
    Only on slashdot can a posting be rated "Score -1, Insightful".
  17. use SVG from Adobe. by pkphilip · · Score: 1
    Use SVG (Scaleable Vector Graphics) which is a W3C proposed standard. The format is completely XML based. You can generate complex reports dynamically without juggling around with images.
    1. The font support is great.
    2. The images scale well and printouts are good. This is particularly useful when the reports span multiple pages horizontally or vertically.
    3. Loads quickly
    4. Easy to learn (atleast in my opinion)
    5. Great support for dynamic scripting (use the languages that you are already familiar with - Javascript). Stuff like hiding/showing some details can therefore be easily scripted into the report. This is useful when the reports contain a lot of data and you would like to give the user the option of removing some screen clutter.
    6. The data for the images is stored completely in XML and therefore exporting data from whatever database into XML format for display in reports should be easy.
    7. Different reports can be generated by using different SVG files getting data from the very same set of XML files.

  18. PHP 4 and [pdf]LaTeX by hholzgra · · Score: 1

    We use the output buffering feature available in PHP 4 and pdfLaTeX for this Task (especially the LaTeX longtable style).

    It is not to fast (~1-2 pages a second),
    but for reports this should be fast enught IMHO.

    Documentation on this is right now only available in German, but if you push me hard enough i'll translate it ...

  19. use PDF for rendering reports by jeske · · Score: 1
    PDFlib is great. It's a somewhat-free library for rendering PDF on the fly. Plus Ghostscript can render PDF to PNG or a printer. PDF already has all the printer specific handling built in, such as page breaks, etc.

    Granted, you'll have to write a renderer. However, HTML does not have enough expressiveness to deal with page break situations, and other complications of paged printing anyhow.

  20. PHP and PDF by mattkime · · Score: 2

    PHP 4 does include PDF functions.

    http://www.php.net/manual/en/ref.pdf.php

    Or, its seems that people always forget that you can write postscript files by hand. : )

    --
    Know what I like about atheists? I've yet to meet one that believes God is on their side.
    1. Re:PHP and PDF by phutureboy · · Score: 2

      Also noteworthy is that you can run PHP scripts from the shell prompt or a cron job, by compiling PHP as an executable CGI and using it as an interpreter just like Perl.

      So, you can write the web site and the offline background stuff in the same language.

      Not that this has anything to do with the original poster's search for J2EE solutions.

      --

    2. Re:PHP and PDF by pythian · · Score: 1

      Yeah, I ended up doing the PHP 4 PDF thing with an app I wrote. Had to replace an Access database with a MySQL and PHP app. The PDF support is, hopefully, preliminary. If not, it's pretty painful.

  21. Jinfonet seems nice by cornice · · Score: 1

    Try http://www.jinfonet.com/

    I had a similar requirement about 18 months ago. I checked out Jinfonet and it seemed pretty nice. I had no budget so I instead used PHP, and LaTeX and some TeX to PDF converter. It was nice since I could offer the option to output to a printer, view a couple pages in HTML, view the whole thing in PDF or export to CSV. I used the largetable macro in LaTeX I think. The output was quite nice but I didn't have time to mess with formatting very much. It wouldn't have been too hard to create several templates. Now I'm stuck with an NT system using Crystal Reports. It's quite nice to design in but not as fast or fun as before.

  22. PHP can massage your data and output to either or. by crovira · · Score: 3

    A php script can read files on the server (or submitted by the client,) massage them into the appropriate format.

    If you use XML you can really go to town on the data, and ignore what you don't need, generate a PDF (or HTML with XSLT but that's less transportable and controling page formatting is more explicit [you'll have to do that work yourself.])

    The client web browser can then load the HTML or the PDF and use Acrobat to view & print to their heart's content.

    --
    MSBPodcast.com The opinions expressed here are my own. If you don't like 'em... Think up your own stuff.
  23. Re:A step at a time... by James+Ojaste · · Score: 1

    Actually, I'm a federal government employee. The only reason people want to spit out gobs of paper is to *prevent* people from attempting to read it. For that, you hardly need to produce actual reports - and especially not pretty ones (the more bland and boring, the better for that purpose). While it might promote job security, it's a lousy way to actually accomplish anything, though.

  24. A step at a time... by James+Ojaste · · Score: 3

    There are a few solutions out there for generating web-viewable reports but I don't particularly like them (Crystal reports has caused a number of headaches around here in particular).

    You need fonts and page breaks? Just about anything other than raw text can do that (yes, even HTML). I use HTML/CSS for all my reports (ranging from crosstabs to listings to canned documents) - how you generate it is wide open.

    Hundreds of pages worth of reports at once? If your reports are that large, you probably don't even want to deliver it to a browser. Some sort of server-side report queue would seem to be in order (ie the user requests a report and if they need to download a copy they come back and pick it up later when it's done). If you're printing from the server, just pick and choose your tech.

    Drag-and-drop? Well, I far prefer building reports in HTML than in something like Crystal (which is what Access uses, by the way) - I hate mucking around with field alignments/sizes etc. I find that things go a lot quicker for me with HTML (CSS helps tremendously).

    I'd really recommend reviewing your requirements. Is *anybody* really going to read hundreds of pages of reports? Perhaps you should be building a more flexible query tool so that your users can get the specific data they want without having to wade through mammoth wads of paper?

    1. Re:A step at a time... by diathesis · · Score: 1

      My client prints reports to send to their client, or to do mass mailings to their client's clients. They feel these reports are necessary, and their client (or their client's clients) will not have access to the app in this phase. Frankly, I'd prefer no printed reports at all, but it's not up to me to determine what the client feels they need.

    2. Re:A step at a time... by CrackElf · · Score: 2

      I'd really recommend reviewing your requirements. Is *anybody* really going to read hundreds of pages of reports? Perhaps you should be building a more flexible query tool so that your users can get the specific data they want without having to wade through mammoth wads of paper?

      You have never worked on a government project, have you?

      --
      "Blake is an idealist, Jenna. He cannot afford to think." - Kerr Avon, Star One, Blakes 7
  25. XML to PDF by MikeFM · · Score: 2

    I have a handy library that can convert XML documents to HTML, text, Postscript, and PDF including inline PHP and data processing. Currently is implemented in PHP and I'm trying to port it to Python too. Is currently functional and I'm working on a newer version that is easier to extend. :)

    --
    At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
  26. Re:reporting by JTFritz · · Score: 1

    XML is definitely the way to go. The XSLT stylesheets that you could generate can take you very far. Make sure you look into XSL:FO.

    In particular, take a look at the XML Apache Project's FOP.

    FOP, which is written in Java, will transform your XML data into PDF format.

  27. reportlab by platypus · · Score: 3

    open source and very nice
    www.reportlab.com
    Check the demos.
    Really, it's cool

  28. User Oracle 9iAS or Forms/Reports 6i. by cybrthng · · Score: 1
    Why not use 9iAS with Forms/Reports 6i. Not only can you do full reporting but you can also use the Discover Viewr for adhoc querying, data mining and reporting as well. Reports 6i gives output in just about any format you wish, and ofcourse you could always use the XML features as well.

  29. Re:Long printed reports are obsolete, deal with it by headkick · · Score: 1

    I appreciate your zeal to blast everyone into the 21st century, but there are still many entities that cannot think outside of the "dead trees in a metal box" box.

    Who, you ask? Dealing substantially with the public sector, I would have to say government agencies. They still view computers as a way to streamline form and report generation, provided that they even use computers at all. To boot, government is just now getting the "it's gotta be on the web" bug. Their bottom line is "...and if it doesn't come in triplicate so that I can stuff it into a filing cabinet, I can't use it."

  30. Re:Long printed reports are obsolete, deal with it by headkick · · Score: 1

    Then use hemp paper. Tree based paper has been around for less than a hundred years.

  31. Crystal Reports++ by Mdog · · Score: 1

    The company I interned at last summer, Dynalivery, focuses on web based reporting. Their main product is an enhancement to crystal reports called parallel crystal which makes it into a "web application." Not sure if their product is exactly what you're looking for, and I need to study for finals instead of actually reading your slashdot post fully, but I thought I'd suggest it.

    Good luck,

    Mike Hunter

    1. Re:Crystal Reports++ by Mdog · · Score: 1

      I don't know anything about seagate's web product, so I can't say. A big selling point of the Parallel crystal stuff is the sweet PDF generation that it does, which seagate can't come close to matching.

    2. Re:Crystal Reports++ by M-G · · Score: 1

      Except their PDF generation isn't nearly as good/complete.

    3. Re:Crystal Reports++ by OSgod · · Score: 1

      Why would I buy this instead of Crystals Web product which is "good enough" and easy to implement.

  32. Re:No page breaks in HTML by Brento · · Score: 2

    As far as I know, you cannot control page breaks via HTML inside a web browser.

    You can kind of cheat with table row counts and style codes. In plain English, if the number of rows so far is greater than, say, 50, put in STYLE=page-break-before:always. v4 & above browsers honor it, if I remember right.

    --
    What's your damage, Heather?
  33. Re:Long printed reports are obsolete, deal with it by Brento · · Score: 2

    Computers are everywhere; if your office is set up reasonably well

    Oh, I wish. We have a similar setup to what the original poster has: we have to generate huge reports for our clients, most of which aren't able to get high-speed internet access. (We scan comment cards for hotels, restaurants, etc.) They want consolidated reports with color graphs explaining their customer satisfaction trends. We make all of the reports available on the internet, but people just don't want to see them that way. They don't have the time to download 100 pages worth of reports with color graphs over a 33.6.

    --
    What's your damage, Heather?
  34. Reporting with Crystal, PDF's, and GB's of data by Brento · · Score: 5

    I've got a group in-house that does almost exactly what you're talking about. There's a lot of people on here spewing off about Crystal and PDF's, so let me give you more details on what worked for us.

    We have a few large (2-5gb) databases that we have to report on. Most reports are generated on a periodic basis, but we've got a few that have to be done on-the-fly when the user requests them. The formatting has to be flawless, and we print out reports on color lasers as well as make them available for download.

    The solution (picked long before I came on board) was Crystal Reports. Whether you like Windows-based development tools or not, you have to admit that it's easier to hire a Crystal person off the street than it is to hire & train for any other report writer.

    To give you some idea, we have a dedicated Crystal person on staff, and several machines that churn out Crystal Reports full time. (We keep five Tektronix color lasers busy for most of the day.)

    The same Crystal Report files are used whether the report is going online or being printed. In fact, we print to PDF format, and save the PDF's. Before you get one of our report packets in the mail (or FedEx or whatever), you can view the same report online in your web browser, and it prints out perfectly. Plus, there's no CPU/database load on our servers - each report is run once, and stored on hard drive.

    For the reports that are done on-the-fly, we use the Crystal Reports viewers. There's several, a Netscape plugin, ActiveX plugin, and a Java plugin. You have to redirect your web users to the right page for your browser, of course. But for these on-the-fly reports, PDF isn't involved. They can print using the Crystal plugin, and page breaks and everything work fine.

    I understand why a lot of people on here throw out solutions like XML, but my experience has been that spending more money on the famously well-used tool usually means spending a little less money on the hiring end later. When this becomes a big business (and aren't you planning for that?) you want to be able to hire quickly, and nothing's more widely used than Crystal Reports.

    If you've got any questions about the setup, you can e-mail me.

    --
    What's your damage, Heather?
    1. Re:Reporting with Crystal, PDF's, and GB's of data by CodeMunch · · Score: 1
      You have to redirect your web users to the right page for your browser

      OR, in the ASP or component that is using CRPE (Crystal Reports Print Engine) call the apropriate viewer for the browser itself.

      Crystal really was/is the cats a$$ (especially for report creation) but v7 would only run 1 report at a time and QUEUED all other requests - really crappy if your database is SLOW - therfore useless for online processing. If each dynamic report takes 5 minutes for querying, and 5 requests come in at the same time, the 5th user is gonna lose 25 minutes waiting and if the user's IE default timeout is 5 minutes (default), you're gonna have cranky users until. CR V8 supposedly did away with that limitation.

      Oh, I've also used ActiveReports(VERY NICE!!!!, requires VB, not as easy to use as Crystal but it is your slave) and Actuate (v 3 or something, such a beast to develop a report but the doc's/self training are GRRREAT)

      --Clay

    2. Re:Reporting with Crystal, PDF's, and GB's of data by CodeMunch · · Score: 1
      I should have been more clear when I said "it is your slave" - I meant you have complete control over AR, you can do anything at runtine - including create reports from scratch although that seems masochistic without a gui. I think the key to using an activereport as a template is to create a report wrapping object that can create instances of the reports. You call your report wrapper object with a string (say, report name) and it can create & run & modify your report(s). I liked the ability to package a whole bunch of reports in 1 dll. It was excellent, but I haven't used it for about a year and a half.
      From their website (Data Dynamics):
      ActiveReports
      Full run-time access to objects, data sources and binding and the ability to create the entire report on the fly

      --Clay

  35. Spreadsheet::WriteExcel by Shin+Dig · · Score: 1

    Right before I left my last gig which was generating financial reports in html, I pointed the folks towards the Spreadsheet::WriteExcel module.

    The clients had been used to getting Excel formatted reports for years, and many of the reports needed colors. This let them dynamically do all that from a web page, but still have excel to manipulate the data. May not be what you were looking for, but it was pretty neat. Plus the output from WriteExcel looks great in Gnumeric as well.

    --
    There is no silver bullet. Plus, werewolves make better neighbors than zombies or vampires anyway.
  36. Use Python.... by scriptkiddie · · Score: 1

    Use Python and the PIDDLE graphics API. It can write very easily to PDF files, and it has nifty compression so an average page is around 1k - that makes 100-page documents reasonable. Furthermore, if you want to print to a network printer, you just change one parameter in PIDDLE and it will output PostScript instead of PDF, which you can then send to the nearest network printer. You can get the raw data using any of Python's numerous database APIs.
    I've done some very impressive stuff using this combination, and Python is so easy to learn it hardly feels like programming.

  37. Re:BRL with LaTeX by topham · · Score: 1
    I haven't used LaTeX, but I can agree with you that a text based solution is quite workable.

    I've used text based reports in a variety of enviornments, with, and without ReportGenerators in the sequence and straight text is always flexable. You can readily convert it to a format which is what the end users want. (PDF is very nice for 'laser like' output. It looks exactly like it will print. The viewer is easily integrated into the browser, and the viewer is free. (major bonus if the website is publicly accessable).

  38. If you use Python... by Tulip · · Score: 1

    If you use Python, you might want to have a look at ReportLab, a nice open-source PDF generation library.

  39. Hmmm...printing by zmooc · · Score: 1

    Printing from a webapplication can be a problem. At least it was for me; I failed to find a reasonable way to print from MSIE without the stupid page headers. Another problem is that you cannot predict anything about the formatting on the server-side (unless it's plain text). So you will most likely need a client-side application (or print from the webserver).

    I solved part of this problem by creating a new MIME-type for the page to print and then create a DOS-app which does `type %1 > lpt1:' which I associated with the MIME-type/extension.

    This is not a very good solution. Maybe someone has expierience with this? Is it possible to use a Java-applet or something like that?

    --
    0x or or snor perron?!
  40. for generating printable documents by gimpboy · · Score: 1

    you might want to look into a latex/php/xxsql combo. you could construct a template like class file and then yank the info out of a database run latex on it, convert the output to postscript and dump it to a printer. the interface could be done in php. using java you could setup some type of drag and drop thing to tell it what format the data should be in. it would take quit a bit of work, though

    use LaTeX? want an online reference manager that

    --
    -- john
  41. Re:Preventing Easy Questions by lostguy · · Score: 1

    So you think Slashdot needs a database of answers to questions which have easy answers?


    I think questions that could very easily be solved with a mild application of google don't belong here.
  42. "Web Platform: WebObjects" by kwerle · · Score: 1

    For WebObjects I'd say the prefered solution is ReportMill. It's what we're using...
    (For what it's worth, WO 5.0 (due any time) is supposed to be Java only)

  43. Crystal Info (Seagate) by JacobO · · Score: 1

    I have used Crystal Info (now Seagate) a fair amount and it is a nice reporting platform. It requires an NT server to run on, but it allows you to schedule reports, balance reporting over multiple servers, design reports easily, build cubes, etc.

    It can use many data sources, including flat files, web server logs are catered for, Exchange mailboxes, as well as the usual ODBC.

    It has a web interface which allows you to view reports, it can e-mail reports to users, you can set up security on reports, it can produce reports in HTML and Word format too.
    They even gave away a 50 user license of version 7 for free. Not sure if it's still available, but if you can find a copy of their free CDROM you'd be set.

  44. Depends on how much you want to spend... by cr0sh · · Score: 2

    There are many solutions out there to do web based reporting - from homebrew to megabuck applications. Here is one of latter:

    Actuate's e.Reporting Suite

    This system is something the company I currently work for is using for reporting. It consists mainly of three parts:

    1) The report server
    2) The development IDE (Workbench)
    3) The report viewer

    The report server is what actually runs the report - it interfaces with the web server you aare using to parse reporting requests, then runs the report, builds a DHTML page with the report result, and sends it back through the web server to be delivered to the client. The reports can be downloaded/printed by the client as PDF files (we are working on a way of making it a single step process - harder than it sounds). In some way it is possible to print from the server to a networked printer (this is an area I am not too familiar with).

    The development IDE is where you create the reports - you can use simple wizard functions to create "ad-hoc" type reports relatively quickly, then you can flesh them out further with code (using a customized form of VB script), to allow a ton of functionality, from simple linking/drill down reporting, to custom reports that change depending on what data is wanted (I have created reports using it that look the same, but I didn't want to write two seperate reports, so I made one report that changes based upon a parameter passed into the report from the input form/URL). The IDE is drag-and-drop simplicity, very much like developing under VB (it is like VB for reporting) - drag text controls, size them, set properties, double-click and add custom code, then compile and run!

    Finally, the report viewer is an application that allows the running of the reports without using a server - it is basically a desktop based viewer.

    The downsides to all of this? Windows-based, and expensive. But overall I think it is a great product - it is almost possible to create a website based on nothing but reports. One could do the same using PERL or Python, or some other language (like Java, even C/C++) - but the ease of creation won't be there, and you won't have the "same-on-paper-as-on-screen" type print capability, either.

    The one thing I don't get - why the need to print to paper? Why not just regenerate the report when you need to view it?

    Worldcom - Generation Duh!

    --
    Reason is the Path to God - Anon
  45. Re:CrystalReports??? by M-G · · Score: 1

    Parallel Crystal picks up where Crystal Reports starts having problems. Since you've already invested effort into building reports through Crystal, Parallel Crystal would be a great way to improve your reporting performance.

    www.dynalivery.com

  46. Look at Parallel Crystal... by M-G · · Score: 2

    If you're not averse to having one component of your solution running on NT or 2000, and need this for a big n-tier solution, consider Parallel Crystal. It uses Crystal Reports to design the reports, then runs them on a scalable report server which integrates into a Java web application server. Output can be to a number of formats, including PDF.

    1. Re:Look at Parallel Crystal... by mfellows · · Score: 1

      Does anyone out there have deployment experience with Parallel Crystal? I'd be interested in hearing their opinions of its stability, scalability, ease-of-use, etc.. Thanks.

      --
      Time wounds all heels
  47. Re:What about using XML/XSL? by ThePixel · · Score: 1

    I have done the same thing, but I would really like to be able to have better pagination options than those provided in HTML.

    I would LOVE to be able to take my XML datasets, and convert them using XSLT into a PDF somehow.

    anyone know how?
    .e.
    www.perceive.net

    --
    People see the world as they are, not as it is.
  48. Gee, where could this be? by babbage · · Score: 1
    I need the ability to build reports from data.

    Gee, it sounds like you could use a Practical Extraction & Reporting Language. Eh?

  49. Crystal Reports is the old standby by curtisg · · Score: 1
    Crystal Reports is the old standby solution. It's highly irritating, but it works, and you can drive down the street and pick up people to write reports for it. The web-based reporting works best on Windows, but it also has a Java client that works passably well.

    If you happen to be using WebObjects, then ReportMill is an excellent solution. They are working on a non-WebObjects version.

  50. Re:Long printed reports are obsolete, deal with it by Spasemunki · · Score: 5
    First of all, this seems to dodge the question. I think we can rely on the poster to know his needs. Secondly, paper reports are obsolete only if you like having your eyes cross. The current state of the industry in data display technology means that most folks have monitors that are ill-suited for long term reading. Even if you have a nice setup with a laptop that you can move around, there still isn't a lot done to prevent 'screen eyes'. People blink less when they use computer screens, and have less control of the distance between them and the screen. The result is that reading long sections can be quite dreadful. For hard contact wearers, there's nothing quite like blinking after your eyes have dried out, thus scraping the contact along your dusty eyeball.

    So until there are some better, lighter, and more eye-friendly solutions to reading through computers, paper will still have a place in and out of the workplace.

    "Sweet creeping zombie Jesus!"

  51. troff: oldie but goodie... by marhar · · Score: 1

    I had good results with a similar problem using:

    tbl -> groff -> acrobat distiller

    As old as it is, tbl still produces very nice
    looking output, and is very easy to generate.

  52. SAS by BMonger · · Score: 1

    As of SAS 8 (possibly before that even) the Output Delivery System (ODS) has supported HTML output. Since one of the main things that SAS does (it's a statistical analysis language) is in fact create reports it does this quite well I think. You'll have some disagree but as far as I've been able to tell the only language people like is the one they program in. So you might want to check out SAS. I've had quite a bit of luck with it. The URL is http://www.sas.com or you want to click http://www.sas.com. You can also contact me via my webpage if you want some more info on it since I (and my employer) consider myself to be good at it.

  53. J2EE and PDF by md17 · · Score: 2

    We have found that Java and the J2EE work great for web apps that also need to have these types of reporting functions. Check out iText - a JAVA-PDF Library for the api that will make a pdf from your data.

  54. ReportMill by mandelbaum · · Score: 1
  55. we do that by bendawg · · Score: 1

    Our company does that, except they are all in house applications. I could tell you how to do we do it, but then I'd have to kill you.
    Oh god, you know too much already.
    ~@#$F~-connection terminated

  56. Re:htmldoc by drapak · · Score: 1

    I have to second this. If you are comfortable coding in HTML, and simply want the typographical and page control that lacks in browsers, HTMLDOC is a brain-dead easy way to generate consistant PDF files from HTML. I use it a fair bit myself, and appreciate it's directness.

  57. R&R Report Writer by MrEfficient · · Score: 2
    I use R&R Report Writer for this type of thing. Its extremely easy to use and can create some very complex reports. It has a number of exporting options, although the only ones I've really found useful are export to dbf, spreadsheet, or delimited text. You can of course create a pdf out of it if you've got Adobe Exchange. Although I use the version that works with dbf files, there is also an SQL version which I think supports ODBC. You can also use their "runtime" facility to create batch report jobs. This way you can run multiple reports automatically or you can run a string of reports that each use data exported from the previous one. You can call these jobs from a .bat file or from within a FoxPro program (I think there may be some other methods as well).

    I see a lot of comments which mention Crystal Reports. I've got it installed on my computer, but every attempt to use it has left me frustrated. It is a truely evil piece of software. R&R is far easier to learn in my opinion, and there has been very little I haven't been able to do with it, and I don't think Crystal Reports would have helped in those situations either. Being able to create an informative, professional looking report quickly is very valuable and I don't think the added complexity of Crystal Reports is beneficial.

    --
    Check out AbiWord.
  58. Re:PDF does what you want by kimihia · · Score: 1

    PDFlib is a good thing. Better than the lack of page breaks in HTML.

    Here's a good demonstration of it: Paper CD Case. Make paper cases of you CDs. Enter details, it makes you a PDF.

    Hey moderators! My post is off-topic. Do something about it!

  59. htmldoc by uncadonna · · Score: 1

    http://www.easysw.com/htmldoc/
    Easy, lightweight, quick HTML -> PDF .

    --
    mt
  60. Try Roxen's Business Graphics Module by ckm · · Score: 1

    Roxen, with it's business graphics module, is capable of generating fancy graphs and reports from any arbirary data source, on the fly.

    Very cool and easy to use. Roxen is available at http://www.roxen.com
    -- CKM
    internet systems architect - scalability - commerce

    --
    -- I don't have a cool sig.
  61. Maybe... by Greyfox · · Score: 2
    Webapp to XML
    jade(xml) to pdf
    ipp(pdf) to printer(remote or local)

    Most of your network printers have or are adding IPP and PDF capability, though I'm sure you could just as easily translate your document to PostScript. Fonts shouldn't be a problem, just use the ones on your printer. PDF is handy because you can also kick it around a lot more easily than other document formats, although it does have the problem of being mostly write-only.

    Just some thoughts. Hope they help.

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  62. Hi Slashdot, can anyone do my job for me? by Chairboy · · Score: 4

    Hi slashdot! My boss has asked me to write an extension to our defect tracking system in Perl. Please e-mail me the code for this before 5 PM pst so I can make it home in time to catch The Simpsons.

    Please, no confusing external libraries other than CGI.pm or Win32 ODBC. Oh, I heard that printf is gay, so please don't use them.

    Thank you!

  63. Crystal Reports by matt-fu · · Score: 2

    A lot of people are saying that Crystal is the goods. I would like to add that in addition to having decent tech support, the hold music system is without a doubt the best I've ever experienced. You dial in, pick your favorite music genre out of four or five, and listen to some pretty decent examples of those genres while waiting.

  64. Actuate by Hurricane_Bill · · Score: 1

    take a look at the Actuate web reporting. I work for a software development company, that uses both Actuate and Corvu as 3rd party reporting solutions. Acuate by far has some awesome web capabilities. It's a very sophisticated product, and will probably require some consulting to get it up and running. Once it's up, though, it is a very simple tool for generating complex reports

  65. We wrote one... by alexhmit01 · · Score: 2

    Our clients needed central control of the database and reporting, so we wrote a report generator. Our PHP System includes tools ror administering your database (the data side, not the DBA side) so anyone with a browser (and obviously a valid password) can do it. We wrote a report generator that you enter the SQL, it generates the report. If you want it printable, you click on the "export to excel" option, and it loads the thing up in Excel (gotta use IE for our admin, Netscape's busted CSS/DHTML support screws it, and Netscape 6/Mozilla isn't there yet), and they can print. As an added advantage, the Excel format is trivial.

    Excel can read tables, you just set the content type. If you need fancy formating, plug it into the PHP source.

    If you don't want to code, there are dozens of programming shops that will develop a system for you for a reasonable fee.

    You don't want to spend money or effort? Well, you're in trouble. Labor isn't free. Do it in house or hire someone. Some of our baselevel systems (including our DB class, which can help you abstract your DB from the engine, you'd need to write your own if you aren't using Postgres or MySQL) are available on our website. If you want to hire us, e-mail myself or sales@feratech.com.

    Alex

  66. reporting by The_Messenger · · Score: 5
    While obviously your situation may preclude it, I've always found Perl's built-in formatting capability to be incredibly easy to use, and it also performs nicely. It's so nice that I've often gone through the trouble of adding a Perl reporter to my C++/Java/et cetera applications. They don't call it "Practical Extraction and Reporting Language" for nothing. (Then again, they don't call it "Pathologically Eclectic Rubbish Lister" for nothing, either. ;-)

    Regardless of the program you use, try to store the data in XML format. Why? Because then you can use one XSLT for conversion to HTML for web use, another XSLT for conversion to PostScript for printing, another XSLT for conversion to Excel spreadsheets -- you get the idea. While I hate to say so on this site, SQL Server 2000 offers some particularly nice functionality that can be used to implement this -- such as automatic transformation of tables to XML documents.

    If you require graphics as well as text, check out the gd graphics library. The Webalizer is an absolutely delicious example of how gd can be used to create slick PDF graphs on the fly.

    You mention that you'd like to integrate with J2EE... I'm somewhat of a Java guru and can say without wavering that Java is not a first-choice solution for text-based reporting. If your reports are being generated by a Perl or PL/SQL script and you're just outputting the results from Java, it's fine ;), but text processing and transformation isn't too hot in the standard Java APIs. Now if you want to pay for a third-party API, you may be able to get around this...

    For graphical reporting, however, Java is one of the best solutions. There are a plethora of Java charting tools available, although the decent ones will cost some dough...

    Anyhoo, if you provide some more details on your specific task I can give a better recommendation.

    --

    --

    --
    I like to watch.

  67. Re:Blah. by thetbone · · Score: 1

    Simply brute force handcoding individual reports in Java, Perl, PHP, Python, Lisp, etc. can be done, but is very time consuming.

    An extremely detailed report (with subreports, aggregates on multiple levels, etc) can be generated (by someone who knows what they are doing) in Crystal Reports or MS Access and integrated into a reporting framework that handles all your filtering, interface, etc in about 15 minutes, or less. How quickly can this be done with web interface (and the Crystal web deployment is not a valid solution, because it doesn't scale.)

    If profit and efficiency is a concern (which I'm sure it is for his manager, not sure about you though; Efficiency, yes, profit....well....), then I think he is asking a very valid question. I have been searching the internet extensively the last couple of days for an application that will allow you to easily design and serve up internet based reports, but I have not found a single product that even attempts to reproduce the functionality of the multitude of client server report writers on the market.

    And to all of the people who say "why don't you do your homework before you ask questions with obvious answers", you might want to read some of the postings from the helpful and knowledgeable people here, I know I've learned of a few products that I was unable to find in Google.

  68. HTML is not a printable format. by jallen02 · · Score: 1

    PERIOD.

    HTML never was and never will be a content description language intended to be printed.

    There are tons of good interfaces to PDF and postcript for Java. I would say PDF all the way. It is more of a pain to get the reports right. But the tradeoff is a printable medium that actually works properly.

    Call me crazy but I have dealt with some really high volume, high end situations where HTML just doesnt cut it when you have to generate reports for big wigs at a comapny. Sorry, its not always easy.

    Jeremy

  69. Re:PDF does what you want by horatio · · Score: 1
    PDFLib is free in all cases (that I can tell) *UNTIL* you go to use it as a COM/ActiveX object within something like IIS/Coldfusion. Then its $500 for a license.

    Go figure, no one wants to develop for winblows, so they have to charge for it.

    --
    There is very little future in being right when your boss is wrong.
  70. Crystal is working out for me... by lowe0 · · Score: 1

    At the risk of (-1, Redundant), I'm using Crystal Reports to do Web-based reporting of Process Control Data. It takes some getting used to, but the learning curve flattens out pretty fast. The reports are near-perfect replicas of our old paper forms, and look so much cleaner (partially due to not being 27th-generation Xeroxes.) The web versions are also paper-accurate.

    Only downside? You have to configure your web server for it, use ActiveX, use the slower and slightly less featurefull Java Version, use the much slower and much less featurefull HTML version, or a combination of the above. Not pretty.

    Hopefully this is enough info for you to evaluate it.

  71. XML + XSL:FO - PDF by __donald_ball__ · · Score: 1

    I think you might want to think about accessing the data as XML and using XSL:FO as an output format. You can use Apache FOP to generate PDF's from XSL:FO documents. There's also a commercial offering that does the same thing, can't remember the name offhand though.

  72. Not Business Objects, Cognos! by null_session · · Score: 1

    I have worked with both Business Objects and Cognos as an application architect and as an administrator and I can say without a doubt that Cognos kicks BI's ass all over the place. Cognos was designed WELL. It is scalable, configurable, stable, and it sets up fast. BI has the most bass-ackwards clustering I have seen, Is tempermantal at best, and only fully supports NT. (I don't know if that's an issue for you or not). I must admit that I haven't done a large amount of work with either one as a user (like many people here, I don't use that type of tool for data analisys... but then most programmers/admins don't) so I can't speak to it being easy to use or effective. I will say that considering your requirements I would NOT use Crystal Reports. It certainly does NOT seem like it would fit your needs. For what you are describing you need Business Objects or Cognos, and I would easily reccomend Cognos.

  73. Re:Crap replies by Siener · · Score: 1

    The lesson we learned - if you need to handle complex reports and heavy loads, you must custom code them.
    Finally someone who gets it. All reporting tools work nicely on small sets of data with simple relations. When a database gets to a certain level of complexity reporting is difficult - no matter which tool you use.
    Our Clients have BIG databases with complex relationships in the data. Typically they have hundreds of different reports that has to be created dynamically and gets accessed simultaneously by a lot of users. Try hard coding all that in perl.
    Over a few years we (i.e. the company I work for) has developed our own reporting tool that can generate (amongst other things) HTML. It's big, it's slow and difficult to use. On numerous occasions management has suggested we use some other reporting tool. It always starts of great - "Wow look at this report I did in five minutes!". But then as soon as you want to do something more complex it's either impossible or just as difficult as with our tool.

    Reporting is a difficult thing and it will probably stay that way for a long time.

  74. Try using LaTeX by SW6 · · Score: 1
    I had a lot of success in generating reports (invoices, actually) from our database and plugging the values into... a LaTeX document. From that you can produce printed invoices, Postscript or PDF files.

    Those invoices were beautiful thanks to Donald Knuth...

    It has to be said that I was using fairly advanced features to make the invoices perfect, but it still took less than a day to design all the forms. LaTeX's supertabular environment rocks and is well worth learning.

  75. Re:Blah. by coolgeek · · Score: 2

    pathologically eclectic rubbish lister?

    --

    cat /dev/null >sig
  76. Try doing a little research by grahamsz · · Score: 2

    There are lots of perfectly good windows reporting tools and if you dont want to have to do any work yourself - GO BUY ONE!

    I'm as much in favour of linux (and uk spelling) as the next guy but to be fair windows has better tools for this sort of thing.

    If you want to go down the linux root then I suggest using perl or php to create a pdf file which the client could then print. It'll require a fair chunk of effort on ur part but the final solution will be infinitely more controllable than it would be on a drag and drop windows system.

  77. Re:Long printed reports are obsolete, deal with it by Bobby+Orr · · Score: 2
    This was not an insightful comment. It was stupid! You don't tell the customer what he/she wants, then insult their office setup if they don't want what you claim they want.

    We have many clients that paper reports for many reasons. In this case, it is what the client wants, not what you want, that is important!

    Many people can't see the monitor very well, or it gives them a headache (either vision trouble, or having bi-trifocles, etc. can cause this.) Personally, a monitor gives me a headache after a while. This means I have to print out pages that need extra careful study and look at them on the printed page.

  78. Use VB by Pinball+Wizard · · Score: 3
    I'll be tarred and feathered for saying this, but its a great option for what you are trying to do.

    First, with VB, you can use ADO to do all the database work. An ADO recordset has support for paging, so you can easily separate your report into pages. It has an easy to use Printer object(which seems to be there by default, I didn't have to declare an object). At the end of each page, all you have to do is call Printer.Print and Printer.NewPage. At the end of your document, call Printer.EndDoc. Presto. A paginated database report, with no external(read: $$$) component. You can further refine your report by setting fonts, etc, but the above outlines the basics.

    Another cool thing about VB is that you can drag a WebBrowser control onto your form to make an instant browser. You can then host your web based app in this form. The only reason I recommend doing the printing with VB instead of the web based app is that you generally have to display everything you print if you do it all on the web page, whereas VB you can print things without necessarily displaying them.

    I'm hoping Mozilla has the same functionality, as I've done this, with the majority of the application logic in the (cross-platform) web app, using VB only to display the application and to print. If Mozilla has the same functionality, I'll have a powerful application that is cross-platform and updateable without needing to send clients install programs.

    --

    No, Thursday's out. How about never - is never good for you?

  79. Not Difficult by Tairan · · Score: 4
    I can name three right now that can do what you want - Formscape , Monarch Report Writer , and Crystal Reports. They've been around for a while.

    I'm surprised something like this got through. Its kinda like asking 'I'm looking for a way to share files between my multiple machines, and I don't want to use floppy disks any more."

    --
    /. is a commercial entity. goto slashdot.com
    1. Re:Not Difficult by br0ck · · Score: 1

      Also, you may want to look at ActiveReports from http://www.datadynamics.com which has design and display interfaces which are very similar to those in Access. It will create either an interactive report or a PDF.

  80. Cognos Web Reports by codepunk · · Score: 1

    Cognos has every single feature you are describing and then some. It is a very solid product but it does have a price. Can you build something like it for the price I hardly think so.

    --


    Got Code?
  81. Web-based Reporting Tools by PatJensen · · Score: 2
    You have a few choices for web-based reporting products. Most of them can be integrated using ASP scripting and will connect to your database products via ODBC. Also, functionality can be integrated using SDKs for some of the reporting tools. Two of the most popular choices that my customers work with are Seagate Crystal Reports and Business Objects.

    Crystal Reports can be integrated into your application itself as well and features a killer report designer and query builder interface and great printed reports. Crystal Reports can publish report datastraight to the web as well. For more information, check out Seagate's web site.

    Business Objects is very popular for its interactive report functionality, where you can drill down into your query getting different levels of information. It helps you avoid information overload in large reports and is generally the tool of choice for doing crossreporting on related queries. For more information, check out Business Object's web site.

    -Pat

  82. Check out FOP by Insideo · · Score: 2

    The only thing I know of that even comes close is FOP (XSL Formatting Objects Processor). FO is an XML-based formatting language that can be used to generate PDF files as well as printable output. You have complete control over page breaks and static content such as report headers and footers.

    You will need to use Java (FOP is Java-based), and if the reports are generated on the client, you will need to download about 2.5MB of JAR files to the client for the required libraries. If you use Java servlets, you can generate the reports on the server and save on the size of the download and the processing needed at the client.

  83. Xerces, Xalan, Fop by BeenaBerry · · Score: 1

    Do it all in Java, server-side, with three Apache tools - Xerces, Xalan, and Fop.

    Generate your data in XML format, use XSL with Xalan to produce formatting objects which Fop can then turn into PDFs and deliver to the user. Reports exactly as you want them. That's the way we're doing it, anyway.

  84. What I use... by Rorschach1 · · Score: 2

    Ok, I'm just finishing up a project with about 300 reports that are launched (mostly) from web-based Oracle Forms apps. I don't know if this would work for you, but I'll try to explain briefly how my system works. I'm using Brio.Report for the report engine (I've got a few COBOL reports but they run through a Brio wrapper I wrote). Brio.Report (aka SQR) will generate output in XML, HTML, PDF, PS, PCL, and plain ASCII, as well as its own intermediate format. In my system, when the report is run it saves the intermediate .spf file in a temporary directory, and then generates an HTML version from the ASCII output, since I didn't like their default HTML. There's no way to control page breaks in HTML, so I cheated - my script looks at the browser you're using and tries to guess how many lines per page it prints, and then pads the -formatted output with enough blank lines to make the page breaks line up. It works pretty well most of the time. But more importantly, the user has the option of clicking on a PDF icon and having the script generate a PDF from the .spf file.

    Brio.Report's got a spiffy-looking GUI design tool, but I honestly haven't used it much. All of my existing reports were written for SQR 3.0 on a VAX so I didn't need to worry about design too much. Amazingly, most of them ran with very minimal modifications.

    It seems to be build for batch processing - it's quite happy churning out hundreds of reports at a time. The ActiveX control included with it sucks, though - I wound up writing my own wrapper for it in VB to integrate more easily with IIS. (No flames, please - I have to use what I'm given.) It's certainly capable of generating nicer-looking output than what I'm doing, with GIF and JPEG graphics and such, but appearance isn't my primary concern right now and I don't have time to mess with it.

    On the down side, it's not cheap. I believe they license it by server class - on a midrange NT box I think we paid around $10K, and about $15K on an Alpha running OpenVMS. So if this is for home use, you're probably out of luck.

    Hope that helps....

  85. Custom tags? by Alien54 · · Score: 2
    So the best option is to have a report that is generated for web display, and have a second one for download in PDF or whatever for printing.

    Just a quick aside, there is also the matter of just how page breaks are generated. These are usually part of the printer driver, and there hooks in the word processor, etc for trigger the printer driver code. This was never set up, as far as I know, in HTML. This is a capability that would have to be intergrated via a plugin or something into the browser itself. Now add this to multiple browsers, etc. and you have lots of problems.

    I supposed you could generate an activex thing to generate a page break that would get auto loaded into IE, and have it fire when there is a specific tag such as [pgbrk] or similar.

    You would also have to integrate specified type sizes so that it still prints correctly even if the user has the parameter to view the browser type set to extra large.

    So that is another angle, because then you could set up custom reports using JDBC, Interdev, or similar to pull info from the database. You would just need to generate something that would create a custom tag for the web page

    Check out the Vinny the Vampire comic strip

    --
    "It is a greater offense to steal men's labor, than their clothes"
  86. Missing something? by Alien54 · · Score: 5
    I must be missing something. I would have thought that via perl, or what every that you could generate whatever reports you needed from a data base to your web browser. Once in your browser you could print out as needed. But this requires coding, which you have said you are not partial to.

    Now there are a number of products where you could generate a report for a database with HTML tags inserted in the correct local, then print to a text file. snd a separate one for printing. This essentially generates HTML pages for you as you need. All it becomes is a specialized report, that can be uploaded as needed.

    So the best option is to have a report that is generated for web display, and have a second one for download in PDF or whatever for printing.

    Let's face it, depending on the database, custom reports etc have been where a lot of database analysts and programmers have made the big bucks for a very long time. While you can get away wit simple reports in something like ms access, in the long run your are going to have to get someone who has the knowledge and experience to put it together right.

    When I used to do tech support for a consumer database company, I ran into this all the time - Customers wanting to do sometimes complicated things with only a minute or two of effort. Add in some anomolies because the database was not normalised correctly, and you get a bloody mess. It was not so much the system, as it was getting the query right (Alphabetized by state, then town, then family name, and filtering those custers using master card for purchase over 250$ during the month of december, and who still owe us money as of the end of the preceding month)

    Depending on the setup, the query could be trivial or a nuisance.

    In some cases, you can't get there from here.

    Check out the Vinny the Vampire comic strip

    --
    "It is a greater offense to steal men's labor, than their clothes"
    1. Re:Missing something? by ffdixon · · Score: 2

      I've worked for many years in the reporting, designing reporting and analysis solutions, and I agree 100% with the amount of effort and pain it requires to generate custom reports. Some users will require more information than the existing reports can provide, but few have the skills to write their own reports, leaving it up to IT to design Yet More Reports (tm). There are really three problems that you encounter with web-based reports: Problem #1: Proper design - In a well designed reporting system, the reports specifically answer user's questions. In other words, the report designers have first considered what questions users have about the data, then designed one or more reports to answer these questions. Most of the time this analysis is not done, which leads to problem #2... Problem #2: Data overload - some reports are poorly designed or simply take 50 pages to view over the web, and whenever the data starts to run over a few pages, it quickly becomes indigestible for the user. Regardless of how well the reports are designed, once the user answers their questions, there is a third problem ... Problem #3: Data analysis - Even in a well designed, when a report provides answers to one (or more) user's questions about a particular set of data, these answers usually trigger more questions that require a second report. For example, when the user receives the second report (from the overworked IT staff), the answers it provides trigger yet more questions that require a third report, and so on, and so on... It was my experience that user's almost always need some other way to analyze the data - either because they have additional questions, because the reports are poorly designed, or because the reports spans multiple pages. For my $0.02, I would suggest you look at Actuate's e.Reporting as offering a very good web-based reporting system, and I would suggest you look at InterNetivity's databeacon as offering a very good web-based analysis system - it also integrates nicely with Actuate's software. Both of these products generate PDF files for high-quality output. InterNetivity's product, databeacon, offers you to graphically analyze - at a high level - the detailed data contained within the Actuate report, or data returned from any web-based reporting system (even home grown ones written in Perl). See: www.actuate.com www.internetivity.com Hope this helps,... Fred

      --
      Life is NP-Complete
    2. Re:Missing something? by mighty_mallards · · Score: 1

      I completely agree - 90% of the time, the problem with specialized reporting is the query to get the data. If the database isn't setup properly in a relational manner, it becomes MUCH more difficult to get valid reports.

      The other thing I would point out is that a seperate file is a good idea, as a few hundred page report would take some time to render in a browser, even if you break it into many little tables instead of one big one...

      --
      You find this humorous, centurion?
  87. this sounds evil, but... by bernz · · Score: 1
    if you need to do this, considering limiting your users (if you can) to an IE browser and using activeX components. they render faster natively and more cleanly than an HTML page and work well within other Microsoft applications.

    I'm a *nix man myself, but we live in an MS world. Sometimes you just have to deal. and if this person is in an office where the clients are ActiveX machines, then that's what they should use.

    if it has to be more cross-platform, the Java isn't abad idea as swing renders relatively quickly, though the applet might be a bit slow to load INITIALLY...

    -----

  88. Reporting depends on Scope... BRIO, Statserver by wundermean · · Score: 1
    Ok, sorry I'm a corporate whore and I've seen many enterprise solutions like:

    Oracle Discoverer 3i

    BRIO

    StatServer (based on Splus)

    Build your own.
    The preferred one depends on scope... it sounds like you want BRIO. Easy report building (drag-and drop), fast data access (client-server), uses an IE Plugin that intalls itself (dunno about mozilla, etc) so the printing situation is pretty easy. Great functionality... I really like it. But it's not perfect, but it's probably fine if you're just reporting already stored data in the DB.

    Stay away from Discoverer because it's not that useful and really just gets in the way... at least where I work. There are some nice business-reporting things in there like drill-downs etc... it does have the oracle functions available, and the easy query building, but bad charting.

    Statserver is really useful for things that require alot of data-fitting and modelling... post-processing based on live-data, etc. Based on Splus... the S is for statistics I think (truly remarkable system, the Open Source version is called R, even better in many ways). It's web-based and connects to other db's behind the scenes.

    Rolling your own can be the most fun... we did that before at my last place when none of the options above were flexible enough...

    I dunno about cost, but BRIO is very well designed.

    --
    "The pure and simple truth is rarely pure and never simple." -Oscar Wilde
  89. Access 2000 with Snapshot Viewer... by N473 · · Score: 1
    At work I write complex reporting apps in ASP (VBscript and Jscript) which feed off a MS SQL 7 database. I have written VBA modules in Access to generate Snapshot Viewer doc's from Access reports which also feed off the same DB's for formatted printable reports. I have also written activeX controls that print the reports for the user with one button click, and others that import the data into Excel, both from web pages on our intranet.

    How did I do all this? I READ A FUCKING BOOK! Well, a bunch of them. I am the author of a large intranet and a growing extranet and all it takes is imagination and the willingness to dive in...

    To moderators with an anti-M$ bias, grow up. Their tools are powerfull and easy.

    1. Re:Access 2000 with Snapshot Viewer... by N473 · · Score: 1

      Wrong. We run a 22GB+ ERP system (Baan) on SQL 7 and several gig of other SQL DB's on two multiproc servers and performance is quite nice ;)

    2. Re:Access 2000 with Snapshot Viewer... by wokie-bug · · Score: 1

      q: How is the performance of SQL 7 when a 5 GB database is loaded and several select * from blah queries are running? a: Crap

  90. Re:No page breaks in HTML by diathesis · · Score: 1

    No, I dn't think you can control page breaks in HTML. Besides, if the reports are long, printing them through the web browser isn't ideal. I'd be looking at integrating with reporting software or, alternately, doing something like PDF generation.

  91. Thanks (no, really) by diathesis · · Score: 1
    Thanks again for all the commentary, even those of you who provided some useful information while implying that I was either lazy or mentally challenged. The breadth of responses gives me exactly the kind of information I was hoping for, far more detailed than a simple examination of Crystal Reports and a PDF library. Personal experiences with products, commentary on the pros and cons, a great deal of it was useful.

    As for those people who felt I should have 'done my research', this one of the avenues in which I was doing just that, and given the level of response, it was worth a few flames and trolls to get a mass of cogent thoughts and recommendations.

  92. PDF, XML, XSL-FO by fedork · · Score: 1

    First of all, Crystal Reports sucks ;-) (had experience). Second. I developed a project very similar to what this guy is asking about. And in Java as well. Ipulled the data in XML and used XSL-FO project (see http://xml.apache.org/ to process it into PDF which is your best bet for online reports. It worked out prety well.

    --
    ...remember good 'ol times when IP used to mean Internet Protocol....
  93. CrystalReports??? by scott1853 · · Score: 1

    I've never used it but I had to look at it once. Price drove us away for our relatively small project but from what I remember it was very flexible and powerful. I'm sure plenty of people out here have had experience with it, good or bad.

    1. Re:CrystalReports??? by Xiathome · · Score: 1

      I double agree, Crystal was a nightmare. Instead we replaced it with standard .asp's and .jsp's and scheduled it with the J2EE program Flux, from www.simscomputing.com . In our particular case we used Flux in a servlet but there are numerous ways to use that product.

    2. Re:CrystalReports??? by bassrat · · Score: 1

      As an alternative to Crystal, check out Report Printer Pro 4.0. at www.nevrona.com I've not yet used 4.0 (which has a report server) but used the 3.0 version to build my own web based report server. It's way cheaper and you get complete source (Delphi/Kylix??) for the most of it. --Greg

    3. Re:CrystalReports??? by Taliesan999 · · Score: 1

      I've had experience with Crystal Reports 6 and Crystal Reports 8 to do print quality web reporting for an application.

      When it all works, it produces very nice looking reports, just don't expect it to scale (real problems handling more than one user printing a report at the same time, 8 was supposed to fix it, but I never saw evidence of the fix actually working).

      Expect to spend time supporting your users and don't expect any useful support from Crystal.

      Also if you need to use version control on your work, rememember the all important report files are BINARY.

      I got so pissed off with Crystal in the end that I started creating my own solution using Java 1.1 to produce formatted PDF files from an XML document (with correct pixel perfect font alignment thanks to reading the metrics of the True Type fonts involved). Got to the proof of concept stage (i.e. printed a report from an XML file).

      I've been thinking of setting up some kind of open source project with the existing code to finish this thing and actually get some kind of viable open source platform independant reporting tool out there.

      Anybody interested can contact me at: taliesan@bytebarista.com

    4. Re:CrystalReports??? by EastCoastSurfer · · Score: 3

      I would avoid Crystal for web reporting. The gui report builder is nice, and the reports work fairly well, but the web server part sucks. My biggest problem with the Crystal Report Web Server is that when one user is pulling a report all users block until that first user is done. The marketing people at Crystal actually comped us a copy of version 8 because of this problem(and the fact that they lied and said that it would not occur like that). The tech support guys are a joke. They were amazed that I got the web reports to work at all with our volume of data(100+ page reports). I have been looking for other solutions, and maybe some comments here can point in the right direction.

  94. Re:No page breaks in HTML by bwalling · · Score: 1
    Umm, have you tried

    ? We use IE at work, but that works for us. Our warehouse gets all of their reports in HTML, and I use that for page breaks.

  95. Try this: by ZeroConcept · · Score: 1

    See:
    www.microstrategy.com

    They have a demo here:
    http://demo.microstrategy.com/

  96. No page breaks in HTML by jchristopher · · Score: 1
    As far as I know, you cannot control page breaks via HTML inside a web browser.

    There are ways to fake it by using images that are roughly the size of one printed page (browsers usually won't print images across two pages).

    But since you're looking for a ready made software package, the odds they've incorporated something like that seem slim.

    1. Re:No page breaks in HTML by br0ck · · Score: 1

      A trick I've used with 4.0 browsers and above is to break the information into one table per page and adding height="100%" to each table tag. The method may not be HTML 4.01 compliant, but I've found it to be fairly reliable.

    2. Re:No page breaks in HTML by jstevens · · Score: 2

      I use a similar technique. In style sheet (.CSS) I have "DIV.page {page-break-before:always}". In report, I use 'DIV CLASS="page"' 'IFRAME SRC="pagedoc1.html"' '/IFRAME' '/DIV' This allows fairly large reports with lots of text blocks for WYSIWYG formatting. The IFRAMEs allow IE5 to optimize the processing of absolutely positioned text somewhat. Main drawback is that each page is a separate file, so you can't search for text through entire report. As long as each individual page is no larger than a single sheet, you can get the browser to honor your page breaks.

  97. Re:What about using XML/XSL? by atomray · · Score: 1

    I also have implemented a reporting solution using Java/XML/XSL-T. We move and store data using XML, and when it comes to reporting we just using XSL-T to transform to HTML and display in the user's browser. Good for short reports (a few weeks), and for longer we simply do the transformation offline and save the HTML. As for XML->PDF, this exists, it's called FOP. Go to xml.apache.org and check it out. It will do everything you want and more than anyone possibly needs :)

    --
    take your sig and shove it
  98. Latex by transami · · Score: 1

    For quite a while now, I've been trying to find a solution to this problem myself. Finally I had to settle on writing my own Latex generator. I'm in the early stages but it looks like it will work well. If all pans out I should be able to create report templates in Lyx (with some manual modifications) and IBM has a relatively inexpensive ($20-40?) Latex browser plug-in, if a normal viewer isn't acceptable. The reports are generated by the server and then passed to the client, so client printing is not a problem. Just wish I had more time and resources to get it completed!

    --
    :T:R:A:N:S:
  99. Try Cocoon by graveyhead · · Score: 1

    Cocoon has many of the features you describe. It doesn't have drag and drop report creation, you are on your own there. What it does provide, however, is a solid foundation for creating different views of a data set in different presentation languages. You can build a report from some input XML data as an HTML web page, or as a PDF document with line breaks, etc. It also encourages very clean implementation by total separation of content / logic and presentation code.

    For a good overview of what Cocoon can do, including PDF output, check out my resume.



    Well, your fingers weave quick minarets; Speak in secret alphabets;
    --
    std::disclaimer<std::legalese> sig=new std::disclaimer; sig->dump(); delete sig;
  100. Ooh! Ooh! I know. by tenzig_112 · · Score: 4

    Use PHP to generate an .rtf file with the pagebreak tags therein. Specs are available on-line. On your browser, use the link save-as feature to save the file as an .rtf and open it in WP or some other word processor. Score! I finally found a question I could answer!

  101. What about using XML/XSL? by Beatlebum · · Score: 1

    I am currently implementing code to meet the same specs as the poster. There are a lot of canned solutions that rely on a SQL backend, e.g. Crystal Reports makes a web based solution. In my case I decided to use XML and XSL. The basic idea is to generate XML from whatever DB or data source you are using and then transform it to HTML using an XSL tranformation. The actualt transform can be done on the server or client. I prefer server side processing since this reduces the need for an XML compatible browser. The nice thing about this solution is you can totally reformat reports by changing the stylesheet, not a line of program code needs to be changed. Also, you can provide hyperlinks to the raw XML so the user can format the reports using his own XSL, or import the XML to any app that has ASCII import. We use Windows 2000, IIS & SQL Server, which have fantastic facilities for XML processing.

  102. BRL with LaTeX by brlewis · · Score: 1

    I've had success with pdflatex for PDF generation from .tex files created by BRL. This is a text-based solution rather than the drag/drop you wanted, but I consider that a feature, not a bug, having spent a year doing PowerBuilder datawindows. I'd much rather insert some text where a new column should go rather than have to drag existing columns/headers to the left and the right.

  103. Paper still has uses by brlewis · · Score: 2

    I have a printout of our inter-office phone directory (database-generated with BRL/LaTeX) up on my wall because, although I type fast, my fingers are slower than my eyes for finding a specific name.

    Printed reports are also useful for face-to-face meetings.

    Hundred-page reports are probably for archival purposes. It's understandable that a lot of people are more comfortable with paper archives than electronic archives, given the general low quality of software today, and the obsolescence, sometimes intentional, of file formats.

    1. Re:Paper still has uses by JulzR · · Score: 1

      While I agree with your sentiment, I wonder if you've thought about the costs of the alternatives- creating silicon chips, plastics, metals, and the energy to run these things are all very environmentally costly; I don't know if it's as bad as chopping down trees, but I do wonder. At least trees CAN be a sustainable resource with CURRENT technologies. Also all of the above have relatively short life-spans and paper is a heck of a lot more reusable; it's even biodegradable!!
      What do you think?

      (BTW-
      I feel the same about electric cars- seems like an answer until you start thinking about the in-efficiencies of the grid and current generation methods. Given current power generation/distribution technologies, would the environmental impact of greater demand cause more or less environmental impact than the current damage being caused by petroleum based vehicles?
      If anyone knows of any studies or projections, please post to /.
      I see the best solution as being revolutionary, not depending on current energy transportation systems, and locally generated to avoid the losses in the above. Fuel cells? High efficiency solar cells? Hydrogen engines? Flywheel based storage? All and more are being tried- hope they start to become viable soon!)

  104. Use Cobol, it has a report generator by RedLaggedTeut · · Score: 2
    Kidding ..

    --
    Well, querying the web, I found that imatix actually has something remotely related .. . Since I run their ftp+webserver for personal use for free, I might as well put up the link here.

    I also found Fujitsu Cobol for the Web.

    --
    I'm still trying to figure out what people mean by 'social skills' here.
  105. i've done this many times before... by gol64738 · · Score: 1

    use a package called html2ps. it can be found here. have a page generate the report, you can wget it if you have to. then convert and send to a printer.
    if you wanna print to client machines, then use samba to send the print jobs to windows or linux clients.

    gol

  106. latex2pdf by jschmerge · · Score: 1
    Pardon me for suggesting something a little over the top, but why not use latex2pdf to generate your reports in pdf format... Using the cgi language of your choice, you can generate the LaTeX source and then call latex2pdf to generate the postscript...

    While not the simplest solution to your problem, it is industrial strength, LaTeX provides any and all formatting capabilities that you would ever need (provided you invest the time to learn :) and PDF is a (almost) open document format.

  107. Done by clinko · · Score: 2

    I wrote an application just like this in asp in about 2 days. But it was for credit card information and entry into an event. It's really not that hard.

  108. Re:Long printed reports are obsolete, deal with it by ReverendGraves · · Score: 2

    Paperless Society Zealot! Woo!

    In your ideal world, it may be the case that you can get away with a paper-free workplace. However, if I handed a disk to the guy who signs my paychecks instead of a printed report, he'd hand me a pink slip instead of a pay check.

    The world is going paperless. It's not yet there.

    --
    MCH/VO S* W- N+++++ PEC+++ D(s++/r) A a+>+++ C* G++(++++) Q+ 666 Y
  109. Business Objects. by NineNine · · Score: 2

    That's what Business Objects is designed to do. Of course, you can also just use your favorite server-side scripting language and do it yourself. Or, if you're using Oracle, you can just fire up Oracle Reporter or Oracle Forms. There are tons and tons of tools to do this.

  110. Re:Get rid of headers and footers in IE 5.x by MaxQuordlepleen · · Score: 1

    Wa la! Beautiful printing from IE

    Now I'm no grammar nazi, but I believe the word you're looking for here is Voila...

  111. Rich Text Format by stuporg · · Score: 1
    I ran into this very issue a couple years back when my company put a web interface onto its set of apps and reports. I chose Rich Text Format because it was ascii-based on an available standard, easy to generate, and with the appropriate plugin or app at the client end, easily viewed, manipulated and printed. Our clients really like this because their reports "magically" appear in their favorite word-processor where they can save it, print page ranges, etc to their heart's content. Of course, YMMV. If you're set on HTML though, there is a little trick with stylesheets to force pagebreaks (at least with IE): Define a STYLE with PRE.my_page {page-break-before:always;} and then use
    ...
    tags to break into sections. A bit on the ugly side, but it works. darrenk
  112. Business intelligence apps by griffinn · · Score: 1

    Most commercial vendors of business intelligence solutions, e.g. Cognos and Business Objects, have a web solution for building custom reports.

  113. Have you considered... by cube+farmer · · Score: 1

    Actuate e.Reporting Suite?

    It's not open source, and many of the development tools are exclusive to a Windows environment; but the application server can be hosted on a *nix box and talk to Oracle and other SQL databases. It's reasonably fast, allows for ad hoc and batch reporting, and can produce output in HTML, DHTML (IE-specific or standards-compliant), Excel, PDF, XML, and other formats.

    --

    MacOS, Windows, BeOS, GNOME, KDE: they're all just Xerox copies

  114. Re:Blah. by cube+farmer · · Score: 1

    Do you know what PERL stands for?

    Pathologically Eclectic Rubbish Lister?

    --

    MacOS, Windows, BeOS, GNOME, KDE: they're all just Xerox copies

  115. Check out "iReporting for eBusiness" by spanielrage · · Score: 1
    by Tidestone

    I haven't actually had a chance to use it, but have ran through their free online demos. It will generate Excel spreadsheets, HTML, and XML as well as charts in GIF/JPG. Even WML so your executive who "needs" a 100-page report can view it line-by-line on his cell phone from his golf cart. You can embed it in servlets (J2EE), JSP, or EJB's.

    BTW, I would really make sure that reports that long are really required. I haven't designed a system in the last 5 years that needed that kind of reporting. We usually end up replacing those long reports with smaller, more customizable online reports. And it looks iReporting would do this just fine.

  116. If it's on an OS/390 mainframe... by blooflame · · Score: 1

    Use JES2FTP which takes reports from the spooler, converts to HTML (broken into pages) or PDF (your choice), and builds an index too if you want. These tools are great. Last time I saw them they were available at Data 21 For some reason your "batch reporting" and "hundreds of pages" ideas struck the ol' mainframe chord with me (which is the environment where I work). If I'm wrong, ignore this post.

  117. Re:Long printed reports are obsolete, deal with it by BEHiker57W · · Score: 1
    Personally, a monitor gives me a headache after a while.

    Please consider -- for your own sake -- getting a flat panel LCD, upgrading to a 75Hz or 80Hz refresh capable CRT, or getting your glasses prescription updated. One of those three solutions solves the headache problem for 95% of users.

    And a real headache is nothing to live with.

    -Brian, who thanks science every day since they cured migranes.

  118. Get rid of headers and footers in IE 5.x by commander+salamander · · Score: 1


    Go to File->Page Setup, and look at the text boxes labeled "Header" and "Footer". Delete everything that is in them, and click OK.

    Wa la! Beautiful printing from IE.

    --
    Is this rock and roll, or a form of state control?
  119. PDF does what you want by commander+salamander · · Score: 4


    Try PDFLib ( http://www.pdflib.com/ ). I've used it for generating reports from both Perl and PHP web apps, and it's worked great. You can allow users to set fonts, max. # of pages, etc etc.

    According to their site, it supports:
    ActiveX/COM for use with Visual Basic, Active Server Pages, Allaire ColdFusion, Borland Delphi etc.
    ANSI C
    Class wrapper for ANSI C++
    Java (via Java Native Interface, JNI), including servlets
    Perl
    PHP hypertext processor
    Python
    Tcl

    I think one of those languages should suit your needs.

    With large, hundred-plus page reports, generating PDFs can take a while (and a large chunk of your server CPU) so you will probably want to cache the generated PDFs and serve them up statically for a few hours...of course, it depends on how often the data gets updated in your application.

    --
    Is this rock and roll, or a form of state control?
  120. HTML Printing by alansingfield · · Score: 1
    Its a pain!

    This is such a common thing to want to do, yet there seems to be no tools that allow this kind of thing.

    Having given up on a consumer friendly solution, I implemented a printing solution using the MS WebBrowser control and XSL transform.

    To do the pagination, you have to render approximately one page's worth of XML data at a time, then use the .offsetHeight property to measure exactly how big it is. Then you have to remove a few lines until you have exactly a page height! (phew)

    Its not particularly fast, because of all the DHTML munging that goes on, but it was the only solution we could get to work sensibly

    There's definitely a gap in the market for an XSL editor along the lines of DreamWeaver, but still there's no neat way of doing any kind of pagination with XSL.

  121. I've heard of something by hackstraw · · Score: 1

    There is a programming language called Perl which stands for Practical Extraction and Reporting Language. Give it a try...

  122. Re:Long printed reports are obsolete, deal with it by Alarion · · Score: 1

    Well, good points but...

    I find scribbling notes all over my laptop's LCD or my monitor doesn't have that "lasting" effect that notes on paper reports do ;)

  123. Crap replies by HardYakka · · Score: 5

    A lot of the people replying to this question are giving advice worth what it costs: nothing. Anyone can list the google search results for web reporting tools, but most of these aren't worth a crap if your requirements are for large loads. Crystal Reports: Great design tool. Useful in an office environment. Requires a dedicated server. Falls on its face under large loads. Formscape: Not useful for dynamically generated reports. All other report engines : one of the above HTML/text output: As mentioned, looks like crap printed. Real reporting requires grouping/subreports and even graphs. Have fun getting these to print. My company required a web-reporting tool for use by tens of thousands of users nationwide via TCP/IP connections. This means being able to handle hundreds of simultaneous dynamically generated reports. First, we tried a few of the products on the market but even the ones costing >$1,000,000 couldn't handle the load without a giant server farm. Next we tried a "roll your own" servlet/PDF solution. Nice idea, but if you are trying to do this on your real time app servers, system response times will suffer. The solution we settled on was: 1)custom report programs on a mid range server for each report type. 2) all report requests are submitted and processed by a batch manager which limits CPU load on the report server 3) finished reports are converted into PDF via a template file and stored in a table. 4) The users is directed to a pending reports page until the reports are complete. When complete, they can be downloaded as .pdf and viewed with the acrobat plug in The lesson we learned - if you need to handle complex reports and heavy loads, you must custom code them. No reporting engine can handle it (yet).

  124. Look at Actuate by CRM+Slave · · Score: 1

    Disclaimer first: after consulting with their software for 3 yrs., I recently joined the company. Trying not to give a sales pitch here, but why you might be interested: -Based on VB3, with object-oriented extensions. (In short, you can create your own class libraries to go between designs.) -It has it's own set of class libraries that can be drag-and-dropped in a design pane. -Query editor with same look and feel as Access. -Also, ability to paste in queries you've already written elsewhere. -Ability to query multiple databases of multiple types in the same report (and mesh results, with a bunch of code) -Version 5 now supports Java objects -Output is either DHTML or PDF -Report server that allows any report to be accessd and run via a URL, from whatever your web uses now (JSP,PHP,blah,blah,blah). Downside: -Steep learning curve for development (though basing it on VB helps). -Not cheap -If you want simple list reports, it's probably overkill.

  125. XML -> XSL -> Microsoft (eeek!) Excel by shooz · · Score: 1

    I have been having success using XSL to style a report generated in XML to create an XML document that Microsoft Excel can load and print. You can do any formatting that can be done from the Excel UI, plus you can control how the report will be printed (landscape, breaks, etc...). Design the report the way you want it to look in Excel, then save as HTML and use that saved document as a template for your report.

    http://msdn.microsoft.com/library/officedev/ofxml2 k/ofxml2k.htm for the Office XML reference.

  126. Crystal Reports by mech9t8 · · Score: 2

    ...has (mostly) what you're looking for. A relatively easy-to-use designer, a scalable server component which feeds the client-side control, and ActiveX and Java-based client-side controls which are embedded in the browser. The client-side controls have full printing capability, as well as exporing to a variety of formats.

    The downside? It tends to be difficult to format complicated reports, it has a archaic data access layer which makes database independence difficult, and the server components only works with Windows/ASP.
    --
    Convictions are more dangerous enemies of truth than lies.

    --
    Convictions are more dangerous enemies of truth than lies.
    - Nietzsche
  127. Re:Long printed reports are obsolete, deal with it by JohnSmith1138 · · Score: 1

    Getting rid of old paper reports is much better for the environment than trying to figure out how to dispose of monitors down the road when they go bad. If each office has a computer in easy viewing distance, each manager/executive has a laptop that has a real time life of 3 or 4 years before it is obsolete, that is a big bunch of plastic and other materials to dispose of. Monitors contain lead, cathode ray tubes and other materials that are harmful to the environment. I don't condone waste either way, but to say that all paper should be done away with and computers used is just as irresponsible as wasting it.

  128. Contrary Opinion of Crystal Reports by tb3 · · Score: 3

    This may get modded as flame-bait, but what the hell;
    Avoid Crystal Reports at all costs if you can. It's irrating, confusing, and buggy, and it's been that way since I started using it in 1993. On every one job I take I swear I won't use Crystal again, but somehow I keep getting stuck with it, becuase it's already being used, or somebody somewhere thought it was a good idea. If you need formatting and page breaks go with some kind of PDF generator, and find one with a Java interface because you're already on J2EE.
    Report generation is one of the necessary evils of business application development, so the best thing you can do is find something that will let the users create their own reports; instead of pestering you to do it for them.
    End of grumpy report creator rant.
    -----------------

    --

    www.lucernesys.comHorizon: Calendar-based personal finance

  129. Zope by badfish2 · · Score: 2

    www.zope.org

    --
    "On the Internet, nobody knows you're a dog!" - a dog
  130. It sounds like by CrackElf · · Score: 2

    the client and server on the same lan. So, I must ask, Why, why, why are you considering a web solution if you need things that html will not produce? The right solutions for the right job.
    - CrackElf

    --
    "Blake is an idealist, Jenna. He cannot afford to think." - Kerr Avon, Star One, Blakes 7
  131. Try Jreport by icoloma · · Score: 2

    Ok, I remember I tried very long ago a JReport app that worked, but looking in the net one thousand have arisen. JBuilder 3 is shipped with a similar tool.

    Of course, this applies if you're working with Java.

    On the same topic, there's a funnier question: if you are programming in Java your site, you ought to have your data access and manipulations encapsulated, say in beans or EJB's. If you try to use a such a tool to generate reports, you step over this data access classes, something that is not recomendable. Anyone has idea of a tool that permits accessing via my own Persistence Layer and generate the reports anyway? I have searched, but cannot say any one.

  132. Real world: reports are neccessary -- get used .. by OSgod · · Score: 1

    .. to it. A paperless office does not exist. Paper is still the lowest common denominator.

  133. Clear as Crystal by Jupiter9 · · Score: 1

    Crystal Reports (http://www.crystaldecisions.net/homepage/) has a pretty cool Web service that displays a Crystal Report through a Java applet. Supports the CGI web application standard too.

    --

    --
    Does anyone remember /\/\/\?
  134. One such commercial product ... by kg1866 · · Score: 1

    As a developer working for Hi-Mark Software, myself along with a few others developed such a product. The product is called WebMan. Although WebMan and its companion products are primarily marketed towards the travel industry, they can be used with any data.

    --
    Kyle George
    kgeorge@himark.com

  135. We used Crystal Reports by Mike+Ox · · Score: 1

    My company asked me to build a report server which would create PDFs out of CSVs using pre-determined report templates. Using CSVs as a direct data source was a pain in the ass because we had to fiddle with ODBC. We found that it was much easier to work with Access files, and since the databases would be single tabled and no more than a few thousand records, it wouldn't be a problem. We got ourselves of a little utility that converts the CSV files to MDB, so the only step would be to take the MDB as a data source to convert it to PDF. We decided to use Crystal Reports because the report designer is very straight forward and easy to use. Personally, I have not used any other reporting system, but I was told by my boss that it was the best solution. We ended up using Visual Basic to integrate everything together. It's been in production for over 6 months now, with over 10,000 reports under it's belt, without any serious problems. At peak hours, it can generate reports at an average of 200 an hour, depending on the computer speed, and amount of records and complexity of the report.

  136. ReportMill by shanerator2000 · · Score: 1

    I haven't used it, but this package called ReportMill that does exactly what you're talking about. I've heard people say it's very good. It costs money though.

  137. Crystal Enterprise is new by buzzcut7 · · Score: 1

    Ya Crystal Reports is single server but ya'll are making it way too complicated. In Crystal 8 the web server is pretty slick. And just I got a copy of Crystal Enterprise that is supposed to be multi servers, distributed processing, etc. Will install soon and send feedback.