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

Print two frames in two sheets

P: 4
Hello,

I need to print two frames in two sheets through javascript.

I've tried to :

Expand|Select|Wrap|Line Numbers
  1. function print()
  2. {
  3.  
  4.       top.window.focus();
  5.       top.window.print();
  6. }
  7.  
but not work because the two frames are printed in the same page.
Jul 31 '08 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
Add a page break to print on two separate sheets. You could do it via a style setting.
Jul 31 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.