我必须使用客户端应用的打印机设置打印HTML [英] I have to PRint HTML with applied Printer Settings from client side

查看:82
本文介绍了我必须使用客户端应用的打印机设置打印HTML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须通过设置打印机设置打印HTML ..比如



Orientation,PaparSize,Resolution等

I have to Print HTML by settings printer Settings.. Like

Orientation, PaparSize,Resolution etc

推荐答案

你不能。打印机设置以及客户端的所有设备都无法通过浏览器中的客户端代码访问。
You can't. The printer settings, as well as all devices on the client side, are inaccessible form client code in the browser.


不,我从客户端获得了已安装的打印机和设置。



在打印客户端之前选择pageSize,分辨率,方向等然后打印机这些设置应该反映打印文件
No, I got the Installed Printer from client Side and settings as well..

before printing client select the pageSize ,resolution ,orientation etc then printer these setting should reflect the Printed document


这篇关于我必须使用客户端应用的打印机设置打印HTML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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