|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Disable header and footer of browser when printing from ASP
Hello Everyone,
As my subject line says, I need to remove the header (Page 1 of x) and the footer (the url of the page) from the printed page. Can I do that through the code? I am using ASP. Best Regards, Mcclarity |
|
#2
|
|||
|
|||
|
One way is to build a 2nd printable page html, and offer a link to that printable page.
Somewhere I have seen some interesting CSS versions of this that don't seem to need another round trip to the server.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Disable header and footer of browser when printing from ASP
I have already loaded the page in a printable format, but still the header and footer are showing. I can manually disable that by going to the Browser's File -> Page setup and delete them from there. I want to do that through the code. Is it possible in ASP?
|
|
#4
|
|||
|
|||
|
I thought you were talking about some html header/footer on the page, but it sounds like you're referring to the header/footer that IE generates when printing. Those I don't know how to disable through code but if you can do it it would take some client-side code, not server-side code.
|
|
#5
|
||||
|
||||
|
yep, it can't be done in any server side language like asp. iirc, the only way i found was using some active x object or something.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Disable header and footer of browser when printing from ASP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|