Forum Moderators: coopster
Your best bet is to use CSS to hide certain elements in the print version of your document:
@media print {
div#header {display: none;}
} If you're referring to the headers and footers that browsers may add to printed pages: that is a client setting that PHP cannot override. If you really need full control over the print version, you should consider offering a PDF version (which PHP could create on the fly).
HTH