杰表技术论坛 's Archiver

xinhuihuang1 发表于 2021-7-18 11:42

安装控件后,点打印不打印

安装控件后,点打印不打印,网页能弹出打印内容,但是点打印不打印

[[i] 本帖最后由 xinhuihuang1 于 2021-7-18 11:44 编辑 [/i]]

admin 发表于 2021-7-19 11:14

可能你的默认页边距有问题了,请显式设置边距,<div>myDoc={</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; settings:{</div><div><span style="white-space:pre">        </span>&nbsp; &nbsp; &nbsp; &nbsp; marginLeft:10,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; marginTop:10,<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; marginRight:10,<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; marginBottom:10<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } ..</div>

xinhuihuang1 发表于 2022-2-19 15:15

我的QQ269571808,能远程帮忙看一下吗<div><br></div>

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.