开发者

set default preferences to the printer through the code

开发者 https://www.devze.com 2023-02-13 13:03 出处:网络
Q: Is there any way to set default setting to the printer through the code , so that i can imagine union and one layout for all users.

Q:

Is there any way to set default setting to the printer through the code , so that i can imagine union and one layout for all users. this is开发者_StackOverflow社区 a web application.


Yes we you can !

Set default styles:

<style media = "print">
  @import url("css.css");
</style>

And preferences to the printer:

CSS How-to: Optimize Pages for Printing Using CSS

Documentation

0

精彩评论

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

关注公众号