Look at CSS media queries. You should be able to serve the ads, etc, in something like
...
and have
@media print {
.noprint {
display : none
}
}
or something similar in your CSS, so when the browser renders for printing, it will hide the ads, etc. You might need some fancy footwork elsewhere in your CSS to make things look right both on screen and paper. Cheers, Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012