<asp:Button服务器控件的onclick事件里面要去调客户端的js代码,你是唱哪出阿<asp:button改成
<input type="button" value="打印" Height="38px" Width="88px" onclick="a()" />