Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Printer Friendly Pages

by Stegalex (Chaplain)
on Oct 09, 2001 at 04:24 UTC ( [id://117593]=note: print w/replies, xml ) Need Help??


in reply to Printer Friendly Pages

A couple of thoughts:

1. You could control much of the appearance of your page through proper control of CSS style attributes (unless you are in one of those retro-shops that ban all forms of modernity).
or (and this is not for the weak of stomach)
2. You could convert your HTML to PDF on the fly with a neat utility called ps2pdf. What I am thinking is that you could run your HTML through ps2pdf which will give you a PDF output file that you could then stick in a servable directory and then redirect the user to that page. Beware, this is a BIG pain in the ass (I know because I use it to provide customers with nicely formated packing slips).

Maybe you should focus on the political battle?

Replies are listed 'Best First'.
Re: Re: Printer Friendly Pages
by Stegalex (Chaplain) on Oct 09, 2001 at 04:35 UTC
    SORRY!! I made a critical omission in the above advice.

    .What I do is to run the HTML through a utility called "html2ps" and then I run the resulting output through "ps2pdf".

    Again, I must stress that this is far from fun or ideal. For one thing, anything but simple HTML causes problems. For another, don't even think about pushing anything with DHTML through. You will blow chunks. Also, I seem to remember that getting images through this process was not much fun (contrary to the docs).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-24 05:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found