in reply to using perl to print out tomorrow's list

That is quite a job you have set yourself!

Personally I would not use HTML as the file-format. PDF seems better suited for something you want to print.

As it is very difficult to write raw-PDF code, I'd go through LaTeX first.

I'd make a template which will be the framework and then have a Perl-script fill in the variable data. LaTeX will then compile it into a nice pdf file.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics
  • Comment on Re: using perl to print out tomorrow's list

Replies are listed 'Best First'.
Re^2: using perl to print out tomorrow's list
by tobyink (Canon) on Nov 07, 2014 at 20:28 UTC

    Actually HTML's pretty awesome for print if you write a print stylesheet specifying margins, page break rules, etc. See Paged media in the CSS 2.1 spec.

    You're not going to get pixel-precise positioning of each character, but for most documents you don't need that anyway.