Pregunta

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?

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top