Posted by Sanders Kaufman on 09/25/07 16:31
"Steve" <no.one@example.com> wrote in message
news:WO9Ki.39$kv3.0@newsfe12.lga...
> since people have an affinity to paper copies, printing has become an
> issue with some reports i'm generating. it seems incovenient to the
> end-users to have to set the orientation to landscape and their margins to
> 0.25 - which results in a beautiful report. they want a link to download a
> pdf version that fills all of their needs/wants - something to store/print
> without having to muck with printer settings.
>
> i've looked at fpdf for generating the pdf itself, but i'd really love not
> having to create a wrapper for it that will take the html and feed it to
> fpdf including the @media print css that is applied. is there something
> out there that would do this already? i'd love to use an ob_start callback
> to pump the html to said wrapper and be done with it.
>
> ideas, suggestions?
>
> if only you could get a browser to honor orientation and margin css
> directives!
I *so* don't get how this is a problem.
When I use media-print CSS stylesheets - I get exactly what I specify in the
CSS file.
And as far as I can tell - it comes out the same on every printer.
[Back to original message]
|