you could use something like wkhtmltopdf which will give you a consistent print for every user, and it takes your page as it currently stands.
asp.net webform printing consistency
-
14-07-2023 - |
Question
I have a webform that my users need to print, but I'm running into issues when they have different print zooms or other printing options.
I do have a print stylesheet, which works great on another webform, but this form has problems like elements vanishing off-page, unwanted whitespace, etc.
Is there any way (using CSS, asp.net or JavaScript) to standardize the way this form looks when printed on different computers/browsers?
NOTE: I'm fairly certain I could dynamically create a PDF using code or some reporting service, but then I would need to maintain the display in 2 places. Is there a solution where I only need to maintain the design in 1 place?
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow