I want some API to control loaded document printing with specified orientation and size without any kind of hacky with CSS #737
WebWeWantBot
started this conversation in
Wants
Replies: 1 comment
-
It seems like the simplest solution here is for all browsers to implement CSS3’s https://developer.mozilla.org/en-US/docs/Web/CSS/@page/size#browser_compatibility |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have developed HTML-based report generation library. Some documents always need to be printed in landscape mode, others have portrait style. For Internet Explorer, we apply third party tool that can internally change print template to landscape before print and/or preview document by inserting some ActiveX component into the HTML layout. It would be great if such functionality have been embedded in the browser already, maybe through some API.
Beta Was this translation helpful? Give feedback.
All reactions