jsp 调用excel打印 如何用代码设置页面横打
现在做一个工程,遇到打印问题,请高手赐教,急。 
 我用jsp点选“打印”连接后,连接到一个excel生成的jsp页。根据数据自动进行横打竖打设置。我不知道相关属性,请高手赐教。谢谢
------解决方案--------------------帮你顶
------解决方案-------------------- <%@ page contentType= "application/vnd.ms-excel "%>
------解决方案--------------------同问一下
------解决方案--------------------帮顶,关注
------解决方案--------------------导出excel打印  
 private void ImageButton1_Click(object sender, System.Web.UI.ImageClickEventArgs e) 
   { 
    Response.Clear();  
    Response.Buffer= true;       
    Response.AppendHeader( "Content-Disposition ", "attachment;filename=Borrow.xls "); 
    Response.ContentEncoding=System.Text.Encoding.GetEncoding( "gb2312 ");   
    Response.ContentType =  "application/ms-excel "; 
    this.EnableViewState = false;       
    System.Globalization.CultureInfo myCItrad = new System.Globalization.CultureInfo( "ZH-CN ",true); 
    System.IO.StringWriter oStringWriter = new System.IO.StringWriter(myCItrad);  
    System.Web.UI.HtmlTextWriter oHtmlTextWriter = new System.Web.UI.HtmlTextWriter(oStringWriter);       
    Table3.RenderControl(oHtmlTextWriter);   
    Response.Charset= "gb2312 "; 
    Response.Write(oStringWriter.ToString()); 
    Response.End(); 
   } 
------解决方案--------------------mark
------解决方案--------------------嗯,js调用ie的打印控件
------解决方案--------------------关注