通过...在IE上以编程方式通过预设打印页面 [英] Print a Page Via... on IE with presetups programmatically

查看:68
本文介绍了通过...在IE上以编程方式通过预设打印页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

好的,我想使页眉和页脚部分都为空,并打印为A4和纵向.
怎么样?
我可以轻松地告诉浏览器而没有打印设置弹出窗口吗?

您能告诉我如何通过JavaScript或其他比wscript更好的方法来打印页面吗?

谢谢

Hello everybody,

Ok,I want to make both the header and footer parts to be empty, be printed as A4 and portrait.
How is that?
Can I just easily tell the browser without the print setup popouts?

Can you tell me how to print a page via JavaScript or anything that works rather than wscript?

Thanks

推荐答案

您可以使用javascript window.print. http://www.javascriptkit.com/howto/newtech2.shtml [
You can use javascript window.print. http://www.javascriptkit.com/howto/newtech2.shtml[^]


这篇关于通过...在IE上以编程方式通过预设打印页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆