in reply to Perl to generate PDF

Re: printing metacpan and the response from Tux is a good place to start.

Replies are listed 'Best First'.
Re^2: Perl to generate PDF
by BernieC (Pilgrim) on Jan 09, 2020 at 22:50 UTC
    This looks like a good start. Template isn't quite right, because I'll need to do different document formats and so I'll have to bang out a new program to process the data and generate the output.

    The most interesting idea is to use LaTeX. 50 years ago I had a lot of trouble with it -- it wouldn't use normal fonts {only Knuth's metafont-based fonts} and was horribly huge and complicated to configure and such. Probably by today's standards the "huge" isn't so intractable any more and I bet that today's LaTeX can use PostScript fonts and TrueType fonts. I know that if I were facile in LaTeX it would be *easier* to generate than the corresponding HTML code for my documents, so maybe I should start by seeing if I can find my LaTeX manual. I vaguely recall I had a book called something like "The LaTeX book" but I bet that there are really much better books than that available now, but that's for me to poke at and not a perlmonks problem Thanks for all the advice!

      Whatever works for you, one program to generate different HTML per report type wouldn't be too taxing. The webkit route I suggested has had good quality results including font rendering and colours, which wasn't the case with other tools.