Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing frames HELP PLS!

Status
Not open for further replies.

einyel

Technical User
May 29, 2003
32
ES
Hi all,

I'm dealing with a software that has its own Web Portal.
My problem is that one of the framesets contains 3 dinamyc horizontals frames (A. 55%, B. 40%, C. 5%).
A. Report main information
B. Chart
C. Toolbar

Due to frames when I try to print A frame it only appears what is shown on the screen.
I've tried to insert some HTML and JS code like window.print(....) but I didint' suceed.

I was thinking on a script that could do that:
1. get the web address generated (as I have thousand of reports published on this Web Portal)
(this address changes on every click as info is different)
2. Open it on another window in HTML format (without frames)
3. After that I believe that browser(IE6) file-->print should print the entire report

Feel free for new suggestions if U think that I'm paranoid with this idea.... : )
Please I need also the code as I don't know that much on HTML & JS programming.

thanx in advance

Einyel
Functional&Technical Cognos Consultant
 
Does this help:
faq216-803

Cheers,


[monkey] Edward [monkey]

"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door
 
How does it work then?
I insert the code and then from browser menu file-->print, is that enough or do I have to create a JS file and an anchor to it?

thanks 4 Ur help

: )

Einyel
Functional&Technical Cognos Consultant
 
Oh wait. Do you personally want to print the whole page, or do you want to make sure that when the page is printed by any client, the whole thing prints?

Cheers,


[monkey] Edward [monkey]

"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top