PDF Modules

A

Alien Resident

Could you please recommend a Module from CPAN for creating PDF's on the fly.

I am still somewhat of a novice to Perl, but I can figure out how to use Mods.

While searching CPAN I get quite a few results when searching for 'PDF' and I was
wondering if you could help me narrow my choices a bit?

I need to let an online user enter numeric data in a form that will be used to fill in
price fields in a PDF I will create on the fly. I will need to use a template for static
parts of the PDF.

I hope this is clear enough.

Any suggestions as to a PDF mod you would favor?

Thank you,

-AR
 
J

James Willmore

Could you please recommend a Module from CPAN for creating PDF's on the
fly.

I am still somewhat of a novice to Perl, but I can figure out how to use
Mods.

While searching CPAN I get quite a few results when searching for 'PDF'
and I was wondering if you could help me narrow my choices a bit?

I need to let an online user enter numeric data in a form that will be
used to fill in price fields in a PDF I will create on the fly. I will
need to use a template for static parts of the PDF.

I hope this is clear enough.

Any suggestions as to a PDF mod you would favor?

Thank you,

-AR

http://search.cpan.org/~ftassin/PDF-Create-0.01/lib/PDF/Create.pm

It takes some effort to create a PDF with this module, but I've found it
to work just fine.

You could also use HTMLDOC (http://www.easysw.com/htmldoc/), which also
has a Perl module to interface with it
(http://search.cpan.org/~mfrankl/HTML-HTMLDoc-0.07/lib/HTML/HTMLDoc.pm).
The plus side of using this approach is you can create HTML formated
documents and then convert them into PDF's. The minus side is you can't
create very robust HTML documents - as they are not handled very well by
HTMLDOC. I can't talk of using the module - but the application is pretty
slick :)

HTH

--
Jim

Copyright notice: all code written by the author in this post is
released under the GPL. http://www.gnu.org/licenses/gpl.txt
for more information.

a fortune quote ...
Your analyst has you mixed up with another patient. Don't
believe a thing he tells you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,150
Messages
2,570,853
Members
47,394
Latest member
Olekdev

Latest Threads

Top