Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q1294

irt.org | About | Feedback | 3038 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q1294

Sent by
Mathew Tuttle on August 01, 2001 at 13:20:05:

Worth:
Worth reading

Length:
Too short

Technical:
Not technical enough

Comments:
This answer helped me achieve what I wanted, though the provided syntax didn't work initially for me. Here's a description of what IS working for me, with both Netscape 4.7 and IE 5:

1) Create a 2-part frameset, for example:

<FRAMESET ROWS="15%, 85%" FRAMESPACING=0" >
<FRAME name="frame1" src="topframe.html">
<FRAME name="content" src="filetoprint.html">
</FRAMESET>

The name of the frame I want to print is "content."

2) the following form is in the html loaded into "frame1".

<form>
<INPUT type="button" value="Print on local printer" onclick="window.parent.content.focus(); window.parent.content.print()">  <INPUT type="button" value="Cancel" onclick="parent.close()"></FORM>

When the "print on local printer" button is pressed, the focus switches to the content frame and that frame prints.


Other feedback on 'irt.org FAQ Knowledge Base Q1294' - show all


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.