开发者

window.print() in iframe

开发者 https://www.devze.com 2023-02-14 13:19 出处:网络
When I call window.print() in a iframe, the print out font-size is very small, but if I open the page in a new windows the font-size is regular. Is there any problem that may affect the font size when

When I call window.print() in a iframe, the print out font-size is very small, but if I open the page in a new windows the font-size is regular. Is there any problem that may affect the font size when call windo开发者_Python百科w.print() in a iframe.

I also call window.print() in this way, but it still the same

var obiframe = parent.obnle.window;
obiframe.focus();
obiframe.print();
0

精彩评论

暂无评论...
验证码 换一张
取 消