You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: I want some API to control loaded document printing with specified orientation and size without any kind of hacky with CSS
date: 2021-04-04T18:12:24.736Z
submitter: Alexander Strelkov
number: 606a0188a153a9ee79f0a1e9
tags: [ ]
discussion: https://github.com/WebWeWant/webwewant.fyi/discussions/
status: [ discussing || in-progress || complete ]
related:
I have developed html-based report generation library. Some documents are ALWAYS need to be printed in landscape mode, others have portrait style. For Internet Browser 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 html layout. It would be very great if such functionality have been embedded in Browser/WebView2 already, may be through some API.
It seems like the simplest solution here is for all browsers to implement CSS3’s @page size. Unfortunately, it looks like only Chromium projects support it right now (possibly because the module is still a draft).
title: I want some API to control loaded document printing with specified orientation and size without any kind of hacky with CSS
date: 2021-04-04T18:12:24.736Z
submitter: Alexander Strelkov
number: 606a0188a153a9ee79f0a1e9
tags: [ ]
discussion: https://github.com/WebWeWant/webwewant.fyi/discussions/
status: [ discussing || in-progress || complete ]
related:
url:
type: [ article || explainer || draft || spec || note || discussion ]
I have developed html-based report generation library. Some documents are ALWAYS need to be printed in landscape mode, others have portrait style. For Internet Browser 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 html layout. It would be very great if such functionality have been embedded in Browser/WebView2 already, may be through some API.
If posted, this will appear at https://webwewant.fyi/wants/606a0188a153a9ee79f0a1e9/
The text was updated successfully, but these errors were encountered: