views:

20

answers:

1

i am using below code to print my content of webpage in asp.net using javascript

       window.print(document.getElementById('dvPrint'));

when i do print, it automatically adds date time on page.. (i think because of page setup) in firefox. please tell me how can i remove this setting. i mean i dont want datetime to be printed automatically on my print page (even if its set in pagesetup).

+3  A: 

I think javascript cant do that you have to remove header and footer from your browser's page setup

Govind KamalaPrakash Malviya