开发者

set default preferences to the printer through the code

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜