*
The moose likes HTML, CSS and JavaScript and the fly likes Can I have Controlled Prinitng in JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Can I have Controlled Prinitng in JavaScript" Watch "Can I have Controlled Prinitng in JavaScript" New topic
Author

Can I have Controlled Prinitng in JavaScript

sandhya menon
Ranch Hand

Joined: May 22, 2001
Posts: 37
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

Joined: Jun 23, 2001
Posts: 73

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can I have Controlled Prinitng in JavaScript
 
Similar Threads
printing frames . . .
print using Javascript
disabling javascript in specific jsp
applet refresh event
printing in landscape using javascript