By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,480 Members | 1,229 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,480 IT Pros & Developers. It's quick & easy.

How do I print one frame?

P: n/a
I have a frame (frame1) with data in it that is in a table. I'd like to
print the data without any HTML. I believe this is the same as if I had the
frame window open as a stand alone window and the user clicked the print
button on their browser. I'd like to place a print button in the frame
window and have it print just the data without opening a new window. How is
this done?

Will this code work without printing any HTML:

<a href="##" onclick="if (window.print) {parent.frame1.focus();
parent.frame1.print();} return false;">

Thanks,
Brett
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
y not try it ?

"Brett" <my*******@cygen.com> wrote in message
news:vm************@corp.supernews.com...
I have a frame (frame1) with data in it that is in a table. I'd like to
print the data without any HTML. I believe this is the same as if I had the frame window open as a stand alone window and the user clicked the print
button on their browser. I'd like to place a print button in the frame
window and have it print just the data without opening a new window. How is this done?

Will this code work without printing any HTML:

<a href="##" onclick="if (window.print) {parent.frame1.focus();
parent.frame1.print();} return false;">

Thanks,
Brett

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.