Dear list, Thanks for all the replies.
My problem with usual pdf tools is that in my case, the document is changing all the time, and it's almost not worth to spend time to create a document template. So I'd like some way to generate pdf right from html, like htmldoc. I think it does a reasonable job for simple pages, static and dynamic (for epl as well). It does not work well with dynamic menus etc. htmldoc -f a.pdf "http://benix.tamu.edu/reports.epl" --webpage But the problem is I cannot fake authentication (session id), unless I create a separate page that does not need authentication. So I want to generate the static html file for converting to pdf at the same time when the user completes the page and sees the output on the browser. (so that I don't have to fake session id.) I was not sure if CPAN's PDF does the job similarly from the description there. It seemed to me I had to write the entire pdf page manually, and it's not what I want. I'll check again, but if there' a solution that does not require me to "prepare" pdf, it would be great. I haven't seen a comment on Teeing the output. Is it possible to send the output of a file, while it's also sent to the browser? (Like output buffering then teeing?) Regards, Ben Kim Database Developer/Systems Administrator College of Education Texas A&M University On Wed, 22 Sep 2004, Gerald Richter wrote: > Hi, > > > > > The way I did it, was to have a template latex file, with > > some special keywords like ADDRESS, MONEYSUM etc. which I > > would search and replace with a simple regexp while writing > > the new file into /tmp. > > I never have used latex, but if you put [+ $fdat{ADDRESS} +] (or something > similar) in the file, you should be even able to process it with Embperl, > before PDF creation. > > Gerald > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]