Save 
Join IIUG
 for   
 

Informix News
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


[ 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: Joel W Schumacher
Date: Tuesday, 9 September 2008, at 5:02 p.m.

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

We also integrate forms printing on HP PCL printers with 4GL, though we
generally incorporate C routines to print the forms.

We've done it a few different ways.

1) Learn the PCL and call a C function to "paint" the form (or call the
macro once it's programmed). Then, your REPORT fills in the form. Very
similar to what you do now, but we're actually coding the look of the
form.

2) Use 4GL to gather the data, then do all of the form "painting" and
filling out of the form in C. Call C functions to pass the data you
want to print. This tends to make the "prettiest" reports because you
can use all kinds of extra features like bold, different font sizes,
etc., to print your data.

3) Sometimes we have to deal with new forms from the US Post Office.
What I've done recently to reduce the hand-coding of replicating the
form is to take the PDF file from the post office and bring it into
Paint Shop Pro (I use ver 8.1). Then, I can save it as a graphic like a
BMP. You can either code C routines to read/print the graphic. Or,
I've developed routines to read the graphic and convert it to a
ready-to-print PCL file. When I need to print it, I just read the PCL
file and send it out to the printer. Of course I still have to
rearrange the "fill-in-the-blanks" pieces, which can either be in 4GL or
C.

#3 has really reduced the time for us to incorporate new forms. And the
post office changes them pretty regularly. It beats having to hand-code
PCL to "try" to replicate the appearance of the original. But, because
you're essentially printing a full-page graphic instead of drawing a few
lines and putting some labels on the page, it can require more printer
memory and take longer to send the initial graphic (which, the first
time you send it, you'd program it as a macro, then use the macro
thereafter).

I know it's pretty kludgy, but if we can get a form as an image file or
as a PDF (and convert it to an image), we can print it pretty easily.
Portable Bitmap and BMP are fairly easy formats to decode, but they are
large. That's why I wrote the code to convert them to PCL, which is a
compressed form. It makes for smaller distribution files.

I also know there are PCL to PDF converters available for various
platforms because I looked into that once. Instead of outputting to
your printer, output to a file and then run this program to convert it
to PDF. Or maybe you can open a pipe right to the converter.

But beware and try to obtain a demo or a money-back guarantee first
because I've downloaded trial versions that don't do such a good job at
rendering the PCL.

-----Original Message-----
From: classics-bounces@iiug.org [mailto:classics-bounces@iiug.org] On
Behalf Of ROGER BURTON
Sent: Tuesday, September 09, 2008 2:35 PM
To: classics@iiug.org
Subject: What are you using to produce nice looking reports [2916]

Hello all,=20

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=20
sure I'll hear about it if there is a better place.=20

I have used Informix-4GL (exclusively) to run the bulk of our operations
and I=20
would like to continue to follow this path. Until recently, the
production of=20
"documents" (Invoices, POs, Statements ...) was accomplished by running
an=20
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=20
static portion (a.k.a. the pretty portion) of the document being the
Macro,=20
and the data (the dynamic portion) being supplied by the Informix
Report. It=20
looks respectable; monochrome and a little plain, but respectable.=20

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

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

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

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

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If the reader of this message is not the intended recipient,
you are hereby notified that your access is unauthorized, and any review,
dissemination, distribution or copying of this message including any
attachments is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete the material from any
computer.

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.