BubbleInDiamond(以下想法纯属虚构) :activex, 怎么弄嘛?不能贴代码示范一下吗?

解决方案 »

  1.   

    我估计是不行
    因为,print()没有返回值,无法对生成的那个打印对话框进行操作。以下是帮助文档的说明:window.print()Return Value:No return value.Res:Calling the print method has the same effect as choosing Print from the Microsoft® Internet Explorer File menu. The print method activates the Print dialog box, prompting the user to change print settings. When the user clicks the OK button, the following sequence of events occurs: The onbeforeprint event fires. 
    The document prints. 
    The onafterprint event fires. The onbeforeprint and onafterprint events are particularly useful when not all the information on the page is visible at all times. Use the onbeforeprint to modify the document to make all the information on the page visible for printing. To return the document to its original state, use the onafterprint event.