Posted by Steve on 09/25/07 15:29
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!
tia,
me
[Back to original message]
|