window.print and iframe

window.print and iframe

Post by Lamberti F » Fri, 28 May 2004 06:59:48

Hi all,
I've got this problem.

I've an ASP file, named content.asp, with inside an input button and a
iframe that loads another asp file, named iframe.asp

I'd like printing iframe.asp using the button inside content.asp.

The size of iframe object inside content.asp is smaller than the real size
of iframe.asp so I can't use JSCRIPT code window.print for the input button.

How can I solve my problem ?


window.print and iframe

Post by Vidar Petu » Fri, 28 May 2004 18:11:50


Not totally sure what you are after but to print the iframe


Best Regards
Vidar Petursson
Microsoft Visual: Scripting MVP 2000-2004

No matter where you go there you are


window.print and iframe

Post by Lamberti F » Sat, 29 May 2004 07:06:28

Your solution is not correct. It's affect to the same problem of mine.

Your solution prints the page with the iframe e not the real iframe, so if
it is bigger than the dimension of iframe object, in your print you can't
see all the page loaded inside iframe object

"Vidar Petursson" < XXXX@XXXXX.COM > wrote in