Save 
Join IIUG
 for   
 

Informix News
29 July 09 - Wall Street Journal - IBM to Acquire SPSS, Adding to Acquisitions... Read
11 February 09 - InformationWeek - IBM Drifts Slowly Toward Mainstream Cloud Computing... Read
11 February 09 - CNNMoney.com - IBM to Deliver Software via Cloud Computing With Amazon Web Services... Read
07 January 09 - Huliq News - IBM Power Servers Helps Bank of Chengdu Build Up Core Banking System.. Read
04 December 08 - Steeleye - Multicarta achieves 99.997% uptime for its Informix-based Credit Card Authorization Centre... Read
16 October 08 - VendorRate - Informix Earns Top Customer Satisfaction Score on VendorRate in Q3... Read
14 August 08 - IIUG.org - Sellout Expected for the 2009 IIUG Informix Conference... Read
29 April 08 - IntelligentEnterprise.com - IBM Informix Upgrade Enhances Clustering, Database Management... Read
29 April 08 - itweek.com - IBM 'Cheetah 2' mauls data costs... Read
28 April 08 - eWeek.com - IBM Uncages Cheetah 2 Data Server... Read
28 April 08 - CNNMoney.com - IBM Helps Clients Reduce Data Management Costs With New Informix Dynamic Server... Read
09 April 08 - CNNMoney.com - MediaSpan Embeds IBM Informix Dynamic Server Software for Delivering News to Print, Web and Wireless Devices... Read
08 April 08 - IT-Director.com - Informix seeks developers... Read
18 February 08 - marketwire.com - Icarus Studios Partners With IBM to Upgrade Performance, Availability for Its Online Games... Read
17 January 08 - eWeek.com - IBM Adds Mac Support to IDS for Higher Education... Read
17 January 08 - informationweek.com - Lotus Notes For iPhone Signals Closer Ties Between IBM, Apple... Read
16 January 08 - marketwire.com - IBM Informix Dynamic Server to Deliver Support for Mac OS X... Read
16 January 08 - internetnews.com - IBM's IDS to Support Mac Platform... Read
28 June 07 - REG Developer - IBM and Informix tie down Cheetah... Read
27 June 07 - CBRonline.com - IBM corrects its own Informix customer figures... Read
14 June 07 - vnunet.com - IBM changes spots with Informix 'Cheetah' database... Read
14 June 07 - eChannelLine - IBM expands scope for IDS... Read
14 June 07 - Resellernews - IBM: Informix database alive and kicking... Read
13 June 07 - DB2 Magazine - Cheetah is now out of the gate... Read
12 June 07 - IBM - IDS 11 release announcement (pdf)... Read
12 June 07 - ChannelWeb Network - IBM Uncages IDS 11, Aka Cheetah, Database... Read
12 June 07 - eWeek.com - IBM's 'Cheetah' Ready to Pounce... Read
12 June 07 - InformationWeek - IBM Unleashes 'Cheetah' Database... Read
12 June 07 - WebWire - IBM Strengthens Database Portfolio With New Informix Dynamic Server... Read
12 June 07 - Intelligent Enterprise - IBM Unveils Informix Upgrade... Read
12 June 07 - ComputerWeekly.com - IBM's Cheetah IDS makes leap to better data centre clustering... Read
12 June 07 - ebiz - IBM Unveils Next Generation Informix Dynamic Server... Read
12 June 07 - computerworld.com - Will 'Cheetah' help IBM's Informix chase down market share?... Read
12 June 07 - Internetnews.com - No Data Can Outrun This 'Cheetah'... Read
12 June 07 - de.internet.com - IBM neuer Datenbank-Server mit Codenamen Cheetah ist fertig... Read
12 June 07 - verifox.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - golem.de - Informix 11 vorgestellt... Read
12 June 07 - Computerwoche.de - IBM stellt neue Informix-Version vor... Read
12 June 07 - IBM.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - Heise - IBM gibt Informix 11 frei... Read
25 May 07 - Taiwan.CNET.com - Local Taiwan Informix user group established... (Chinese language) ... Read
18 May 07 - ChannelWeb Network - IBM Musters Partners For Cheetah Release... Read
18 May 07 - eWeek.com - IBM Looks to 'Cheetah' to Speed Up Blade Servers... Read
7 May 07 - DB2 Magazine - SQL Shortcuts - Use these tricks to generate IDS SQL scripts... Read


End of Support Dates

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

Classics Forum

Re: What are you using to produce nice looking rep

Posted By: David Gerdt
Date: Tuesday, 9 September 2008, at 7:32 p.m.

In Response To: What are you using to produce nice looking reports (ROGER BURTON)

Well, I'm new to the 4GL arena, having only been working in it for about a year and even then not exclusively and mostly in a maintenance role, but one of the projects I've been working on relates to that very thing. We had a setup very similar to what you mentioned and it, too, was a bear to maintain.

Basically we used a word processing program to create a formatted report with fields that could be inserted later, a perl script took the pcl from that report and made a template from it, the Informix report generated data in a custom tag language, a perl script merged the data into the template, and the 4GL threw that out to a printer. If we need to convert to pdf, we use Ghostscript (though this isn't possible in all cases).

The new approach we've taken is to use the report functionality of Informix to generate the data we need in an XML format. Then we use Apache FOP to generate the formatted output. It's a little more complicated than that, but that's the basic drift. The nice thing with FOP is that, just as you've mentioned, you can generate multiple output formats from the same data/stylesheet.

We haven't rolled it out into production yet, and when we do it won't be across the whole organization until we see how things go, but things look good so far.

There are a couple of drawbacks
- PCL generation, which we rely on, cannot be safely multithreaded due to what appear to be threading issues with the java2d subsystem. If you can safely guarantee Postscript support in all your printers, you don't have to worry about this. If your report printing is minimal, you could skip the concept of a server altogether and just fire off a new process for each request. In that case you wouldn't have to touch any Java code.
- The Java skills required are pretty minimal, but it's still another technology to support
- XSLT can be confusing. It's just really verbose and because it's a declarative language it does require some adjustment. Given that your report structure probably doesn't change very often, this probably isn't a huge deal, but if you have a lot of different reports it could be.

The good stuff
- You have pretty fine grained control over every aspect of how the data is formatted
- PDF, PCL, PS, TIFF, RTF, and other formats just by using a different command line switch
- Open standards, freely available tools, good user base/support community

Dave

>>> "ROGER BURTON" <rogerb@ahearn.com> 9/9/2008 3:34 PM >>>
Hello all,

I'm VERY NEW to this game - forgive me if I've slotted this in the wrong
place, but it seemed the most appropriate option of those presented to me. I'm
sure I'll hear about it if there is a better place.

I have used Informix-4GL (exclusively) to run the bulk of our operations and I
would like to continue to follow this path. Until recently, the production of
"documents" (Invoices, POs, Statements ...) was accomplished by running an
Informix Report and invoking a "form" (created with a third-party bit of
software that was stored as a "macro" on an HP printer) as an overlay. The
static portion (a.k.a. the pretty portion) of the document being the Macro,
and the data (the dynamic portion) being supplied by the Informix Report. It
looks respectable; monochrome and a little plain, but respectable.

This has served us well for many years. However, this solution is becoming
more and more difficult to support as the original (forms generation) software
is becoming more and more antiquated [it came on 5 1/4" floppies - just to
give you an idea]. Enough is enough, I said, time to re-evaluate. I further
speculated that this (the IIUG site) would be a good mechanism to poll what
others (YOU) are doing if you have a similar situation in YOUR environment.
I'd like to know how others (you) are resolving this?

Resolving the aforementioned would be great, but if your solution also
encompasses the conditional creation of a PDF file that can be e-mailed, that
would make for a more complete solution. (And I'd look like a superstar around
here.)

I am grateful for ALL input and I thank you in advance.

*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

Classics Forum is maintained by Administrator with WebBBS 5.12.