
August 8th, 2001, 08:47 PM
|
|
|
|
I believe you can tell the browser to print (acting as if you clicked the print button) with window.print(). However, you can't specify what to print or in what mode -- it will just bring up your print dialog box. Now, if you want to be sneaky about it, you could build the page in frames, have a teensy frame without scrollbars that isn't apparent to the user, dynamically build the section you want to print in that frame, and print just that frame. However, this method probably isn't foolproof, as I believe IE gives you the option of printing the entire frameset.
__________________
 Michael
|