
打印类
文章平均质量分 70
zss1100
这个作者很懒,什么都没留下…
展开
-
带表头表尾的打印
@media print{INPUT {display:none}}每页都有的表头response.write "表格内容"&i&"表格内容"&i&"" if (i mod 46)=0 then response.write "表格内容--表格内容-" end ifnext%>表格内容r表格内容表格内容表格内容表格内容表格内容表格内容表格内容表格内容表格内容表格内容表格内容表格内容表格转载 2007-01-13 14:50:00 · 834 阅读 · 0 评论 -
截取打印
以前用户在打印网页内容时,一般直接选择IE的打印功能就行。有的WEB页面上也有“打印此文档”的链接功能,引用的也是“window.print();”,类似于手工打印页面。 一般我们用到网页的打印,都仅对页面上的主要内容感兴趣,一些相关的广告图片、无用的文字信息等都可以排除。如果需要实现这样的效果,则使用上面的方法肯定是不可取的。上次我在写域名查询的时候,使用了XML,同时处理查询反馈信息是进转载 2007-01-13 14:50:00 · 683 阅读 · 0 评论 -
实现Web打印的方案,有些地方还需完善
实现Web打印的方案,有些地方还需完善。 using System;using System.Data;using System.Web;using System.Text;using System.Collections;using System.Web.UI;using System.Data.SqlClient;using System.Web.UI.WebControls;using转载 2007-01-13 14:52:00 · 512 阅读 · 0 评论 -
设置打印机
#region 设置打印机 //设置打印机为机器当前连接的默认打印机 System.Drawing.Printing.PrintDocument printDocument = new System.Drawing.Printing.PrintDocument(); crReportDocument.PrintOptions.PrinterNam转载 2007-01-13 14:49:00 · 908 阅读 · 1 评论