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
精彩评论