What happens when you try to print it? Make the tables (if you use them) width=100% and see how that goes. Also you can invoke a users printer through javascript like this :
<a href="javascript:window.print()">Print</a>
And if you want print mode to be different then normal mode for something you can use if/else statements as such :
if ($print == yes) {
$tablewidth = '100%';
$bgcolor = 'ffffff';
$fontcolor = '000000';
include 'printHead.inc';
// etc. depending on how you do things
} else {
// normal stuff as opposed to the above
}
One common route is doing this through header/footer :
if ($print !== yes) {
include 'header.inc';
}
page
if ($print !== yes) {
include 'footer.inc';
}
So it all depends on your site and what you're doing. I've not yet played with PDF for this but plan to as I hear good things especially for occasions such as you describe where data is simply wider then any table=100% will allow for.