This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Printing HTML using Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Printing HTML using Java" Watch "Printing HTML using Java" New topic

Printing HTML using Java

Vik Natarajan

Joined: Sep 06, 2002
Posts: 9
I am trying to print a HTML document from the browser when a button is clicked on a web page. I would like to know if the printing can happen without a print dialog window opening. I want to know if the content can be printed without additional input from the user.
I would like to know where I can start to build this feature in the application.
I appreciate the help.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60789

No can do. See the HTML/Javascipt forum where this has been discussed before.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Printing HTML using Java
Similar Threads
Printing in servlets?
Printing html from an applet
Printing html from an applet
how to print on a preprinted sheet
Java print service--pls help