OT: writing pdf from perl



I currently have a perl program with which I read an xml file (of dictionary
entries), sort and format the entries and print them out (as html). I then
read the html into openoffice manually add columns and page numbers and
export as pdf.

I would like to automate these last steps and also add individual page
headers based on the first entry on each page. This is beyond what a
word-processor can easily do so I am looking at writing directly to the
printer (or pdf).

I can see how I could so this from C# using the printer classes (and
MeasureString and DrawString etc methods from System.Drawing), but I would
prefer to do it from perl. Any ideas as to any modules that might make this
possible? Ideally I would like something cross platform Windows/Linux. I
have googled and looked at CPAN but not found anything promissing.

Dave


.



Relevant Pages

  • Robert Hunter Journal update, 8/31 - 9/3/06
    ... Here are the latest entries in Robert Hunter's online journal, ... without Web access. ... I hate the way HTML won't give me a dash -- just two lousy ... Success, as popularly conceived, is nothing but frustration. ...
    (rec.music.gdead)
  • Re: New website for Burkes Peerage and Gentry
    ... The problem is I am restricted by the limitations of HTML. ... they might not be able to see the results of applying styles. ... BTW the "children" entries seem to have acquired a superfluous level of ... indentation in the Richmond format; ...
    (rec.heraldry)
  • Re: New website for Burkes Peerage and Gentry
    ... the trend these days is to wider, ... The problem is I am restricted by the limitations of HTML. ... BTW the "children" entries seem to have acquired a superfluous level of ... The Complete Guide to the British Peerage & Baronetage ...
    (rec.heraldry)
  • Re: Firefox Links Table Problem
    ... while most of the table entries display nicely, ... I've validated the html so the only error is a small one of no importance ... I've compared missing and present table entries html of nearly identical ... Firefox will correctly display the missing link images when these are ...
    (alt.html)
  • Generating formetted documents in Perl
    ... I'm trying to write a Perl program that will output a simple catalog. ... I'd like to produce something nicer than raw text output. ... It would also be really nice if I could include a horizontal line between some of the entries. ... I want the program to be portable between systems, and the output format as well. ...
    (comp.lang.perl.misc)