|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Printer Friendly Output
I would like to be able to print a web page from my site (using Internet Explorer), but keep getting the pesky IE header & footer appearing on my printout..
Is there some php code (or similar) I can drop into my page that will hide/remove them? (I don't want to have to manually remove them from IE) Any ideas? Thanks! |
|
#2
|
|||
|
|||
|
Hi steve55,
There's definitely no way you can do this with php - remember, the browser sees nothing of your php code (it's all processed on the server), only the resulting html. Unfortunately, there doesn't appear to be anyway of programmatically (using javascript) turning them off. If you just want to alter the settings on your computer, you can go to print preview, click on the page setup button and then remove the header and footer text. You can't, however, do this automatically on other peoples' computers. Hadley |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Printer Friendly Output |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|