There were two principal reasons why we didn't use the "PHP/Web Browser" route:
1. We wanted to have a setup where there was no human intervention - ie had
to be able to be done unattended
2. Printing from a web browser meant being only able to print one report at
atime and often came with a header
from the browser.
Hence the need for a script that could be run as a cron job.
Regards
Martin Cameron
Jan Dvorak wrote:
Ed Carp wrote:
Martin (came...@cameron.co.nz) writes:
Some time ago, a discussion took place on whether it was possible to generate
reprots directly
from MySQL to a printer. I watched closely for a answer, but did not seem to get
one that was satisfactory.
It would also be possible to generate the report in HTML (using Escapade or
PHP), then print it from a browser.
Or generate TeX in Escapade or PHP or Perl or Python
and make the DVI and a PostScript output.
Jan