• Post Reply Bookmark Topic Watch Topic
  • New Topic

how could I provide the "print" function inwebpage  RSS feed

 
oldbare
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For example,I need the there is a button on the page and if I click it, then the local printer could print it. Could some one provide some presudo code or source code.
Thanks a lot.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

"oldbare"
Your name doesn't agree with the javaranch guidelines.
Please take a moment and re-register after reviewing the
naming policy at http://www.javaranch.com/name.jsp
Thanks for your cooperation.
- satya
 
sandeep balyan
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just use
window.print();
on button click event ..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!