Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: using perl to print out tomorrow's list

by CountZero (Bishop)
on Nov 07, 2014 at 10:38 UTC ( [id://1106471]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1106471]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-19 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found