Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to overwrite browser's property.  RSS feed

 
Ashwani Yadav
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I overwrite/remove the browser's property like header, footer, page numberfrom javascript which is displayed when I fire a printout from the browser and these all also get printed on that page.
I know this is the probleof javascript but If any one can help me out that well and good.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Ashwani"
Welcome to javaranch.
Please note that your name doesn't follow the javaranch guidelines. Please take a moment and change your "Publicly Displayed Name" by modifying your profile.
thanks for your cooperation.
- madhav
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use javascript to display another window and then set the properties for the window object appropriately. You can set properties not to display the statusbar, location, toolbar, etc.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!