Because in most of the cases won't look like in the browser, frames and other stuff cannot be printed well, this is a well known problem, just go to a webpage with frames and click on "print preview" and you'll see. The only solution is to capture first and then print it.