Automating reports

DANIEL MAGNUSZEWSKI dmagnuszewski at mandtbank.com
Mon Oct 3 09:00:45 EDT 2005


Along a similar path, you can use wget to save the images, then use the
following Perl module to help you in the pdf generation:

http://search.cpan.org/~antro/PDF-111/PDF.pm 


>>> Justin.Bennett at dynabrade.com 10/03/05 7:48 AM >>>
I do similar stuff with automated reporting from our database. I use
PHP 
and the Fpdf program (http://www.fpdf.org/) to generate a PDF from a
PHP 
program. From PHP you could Email this or print it. I don't know if you

know php but:

You could write a php program that:

1. Gets the Images with wget and save them in a local directory
2. Creates a PDF and includes your labels and images you saved from the
wget
3. Emails or prints the PDF

Fpdf has some examples that you could modify to do what you like
without 
the much trouble.  
Then I fire the PHP program from cron on a nightly basis.


Justin


Justin Bennett
Network Administrator
Dynabrade, Inc.
8989 Sheridan Dr.
Clarence, NY 14031
 



On 10/3/2005 4:15 AM, Robert F. Stockdale IV wrote:

> Hello everyone:
>     I have this project I'm trying to do. It starts by saving charts

> from a web page. There are 4 charts that get updated daily (M-F). I 
> currently do this manually by right clicking on the chart in Firefox

> and select save as. These are stock indexes for monitoring the 
> investment portion of a retirement portfolio. I then put the 4 charts

> on one page in OpenOffice Writer with labels above each chart. How
can 
> I automate this process or is there an easier process to create a pdf

> or postscript file for output to default printer? I can send a sample

> output if some one would like to see the manual result.
> Thank you
> Bob






More information about the nflug mailing list