Print two frames in two sheets

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gangui
    New Member
    • Apr 2007
    • 4

    Print two frames in two sheets

    Hello,

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

    I've tried to :

    [CODE=javascript]function print()
    {

    top.window.focu s();
    top.window.prin t();
    }
    [/CODE]

    but not work because the two frames are printed in the same page.
    Last edited by acoder; Jul 31 '08, 07:02 PM. Reason: Added [code] tags
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Add a page break to print on two separate sheets. You could do it via a style setting.

    Comment

    Working...