Manisha Sathe wrote:
How can avoid other stuff on my web page ?

I assume you want to only print the information and not the page header, footer, navigation, etc. There are several ways to do this. The best way is with CSS. However, if you have not created your page primarily with CSS this won't work real well. The second step is to simply remove any headers or footers that you are including in your page when you want to print. In others words create a link on the page that says print that when clicked will not load any footers or headers. If you don't include any footers or headers, you could create a script that would remove <img> tags and some others in order to print only the relevant material.


Also when i print then title of document / page no / url / date also get displayed.
How can i avoid it ?

This kind of information is usually from the OS, browser or printer driver. Therefore, it would be very hard if not impossible to turn off through server-side scripting or even with JavaScript.


--
Jason Giangrande <[EMAIL PROTECTED]>
http://www.giangrande.org
http://www.dogsiview.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to