站内搜索: 请输入搜索关键词

当前页面: 开发资料首页JSP 专题在IE中如何自定义打印纸张大小

在IE中如何自定义打印纸张大小

摘要: 在IE中如何自定义打印纸张大小


现在需要在一个票据打印机上打印单据,(类似于超市打小票的那种),本来想打印的页面用JSP生成,用IE自带的打印功能打印..
但是在IE上面,却没有自定义纸张大小功能.(Win2000+IE5.0.WORD里面却可以设置纸张大小).打印机(型号Star 100)设置里面好象也没有设置.
不知道现在有没有什么简单的办法实现我需要的打印功能呢?望前辈指教,如果采用,定重谢



关键是控制纸张大小(也就是走纸问题)问题,JSP环境下能实现的都可以.


Basically, in the end, what you need to do is create so called "print
templates".
Beyond Print Preview: Print Customization for Internet Explorer 5.5
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnie55/html/beyondprintpreview.asp
Print Preview 2: The Continuing Adventures of Internet Explorer 5.5 Print Customization
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnie55/html/printtemplate2.asp
Printing and Style Sheets
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dynstyle/printing.asp
Print Template Reference
http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/hosting/printpreview/reference/reference.asp


IE里面有自定义打印大小的


可以到打印设置去吧


问题已经解决,不过不是上面的这些方法...


↑返回目录
前一篇: JS正则表达式问题
后一篇: 谁有遮盖层的js代码