Solved

Dynamic online PDF generator.... using perl/cgi out of mysql

Posted on 2007-03-27
2
524 Views
Last Modified: 2013-12-25
Hi There,

I am creating a used car based system for a car dealership.

They would like the ability to create pdf's on the fly from records that they have entered into a mysql database.

The system is coded in perl / cgi so anything that uses this would be excellent?

Anyone have any ideas?
0
Comment
Question by:scottwilliamwright
2 Comments
 
LVL 1

Accepted Solution

by:
the__tyrant earned 250 total points
ID: 18802529
Use the perl package PDF::API2
its on CPAN: http://search.cpan.org/~areibens/PDF-API2-0.59.002/lib/PDF/API2.pm
Will have to install this package through PPM or CPAN module.

Quick little example of this i created a while back that converts txt files into PDF's:
http://asapinc.ca:100/txt2pdf.txt  - ( http://70.50.225.85:100/txt2pdf.txt )

Will also need the config file:
http://asapinc.ca:100/convert.conf (http://70.50.225.85:100/convert.conf)
just save it in the same dir as the txt2pdf script.

0
 

Author Comment

by:scottwilliamwright
ID: 18807046
Perfect!

Thank you very much!
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question