Hello, perhaps someone can help me. I'm in the process of updating some
in-house software written in Perl. The printing feature currently
prints out reports in tried-and-true monospaced ASCII text. I would
like to update this a tad, using some different fonts/styles and some
boxes/lines, maybe even add a little color such as our department's
.eps logo and a bitmapped graph or two. My first thought was to look
for a graphics generation library (like GD)... but at 600 dpi, that
would make for some huge page-sized bitmapped images! Then I thought
about hand rolling some Postscript. Now I'm thinking maybe PDF via some
sort of support module. Has anyone else trekked this route before? I'm
a PS and PDF newbie from the coding side of things! What do you
suggest? I'm leaning towards something that uses Postscript and/or PDF,
that way I can dump the generated file right to the printer and keep my
code as OS agnostic as possible.
Thanks in advance for any pointers!
Eric - 27 Dec 2004 12:23 GMT
> Hello, perhaps someone can help me. I'm in the process of updating some
> in-house software written in Perl. The printing feature currently
[quoted text clipped - 10 lines]
> that way I can dump the generated file right to the printer and keep my
> code as OS agnostic as possible.
If you have access to it, try LaTeX. It depends on your requirements.
Many years ago I wrote a PS Lineprinter class library that got used in C++
apps. It printed by being given an instance of a slug, which it then placed
on the page (this one or the next depending on its internal rules). Fine
for simple apps.
But LaTeX lets you write much more sophisicated reports. You can have
contents, indexes, images etc. Lots of tools support it.
Eric
Larry T. - 27 Dec 2004 17:51 GMT
Hi,
Take a look at OctoTools from JBM Systems at www.octotools.com. It will do
what you are looking for and quite a bit more. It's not free or shareware
but a commercial package designed to handle medium to high volume throughput
automatically. Let me know if you are interested. Thanks for your time,
Larry T. (978) 535-7676 (Boston, MA)