Two Laptop Bag
The moose likes HTML, CSS and JavaScript and the fly likes print Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "print" Watch "print" New topic


suresh pulapally
Ranch Hand

Joined: Mar 15, 2005
Posts: 47
hi all,

i have 2 frames in document,top frame displays html text and bottom frame displays report.i have written javascript function in top frame to print both frames, but its printing two frames in 2 different pages..i tried using there any other way to do print both the frames in a single page(i mean using java...)
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

this is an HTML/Javascript question -- better asked in the HTML/Javascript forum.

Anyway, did you try printing from the top frame?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Moving to the HTML and Javascript forum.

subject: print