Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I have Controlled Prinitng in JavaScript

 
sandhya menon
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to print address on an post cover using javascript.
The matter to be printed has to be controlled so as to print in specific area of the printing stationary. any way to do this using JavaScript
Please help
 
Mohamed Yousuff
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

There is only one function window.print() in javascript to get printed. It will print whatever is present in the browser window as it is. You just have to make the contents of the window as you want from the printer. No ways other than this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic