Custom printing from web form data?
Price, Erik
eprice at ptc.com
Mon Nov 25 09:19:10 EST 2002
> -----Original Message-----
> From: Dan Coutu [mailto:coutu at snowy-owl.com]
> Sent: Monday, November 25, 2002 8:57 AM
> To: Greater New Hampshire Linux Users
> Subject: Custom printing from web form data?
>
>
> What I'm trying to accomplish is to print certificates (to be
> snail-mailed)
> based on data collected from a form on a web site. I think it
> would be most
> efficient to print from a cron job using the data that had
> been previously
> collected and stored in a useful place, like a MySQL database.
>
> The tricky part is that the certificates should look fairly
> classy, which
> means they can't be just plain ASCII text. They should
> include graphic
> elements such as your typical certificate border with the
> fancy artwork. Of
> course multiple colors are required too.
I'm not really knowledgeable about this, but PHP does offer
PDF-formatting functions. Perhaps there's some way you could
create a template PDF and just change the things that you need
to change, and print that out...
http://www.php.net/manual/en/ref.pdf.php
Of course, I'm sure Perl has a module for this somewhere as well.
Erik
More information about the gnhlug-discuss
mailing list