Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Perl / Modules / December 2004



Tip: Looking for answers? Try searching our database.

Pretty Printing (maybe with PDFs ?)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
colin@beyondboxes.com - 27 Dec 2004 12:10 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
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)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.