CSS for printing
Very nicely written:
https://www.jotform.com/blog/css-perfect-print-stylesheet-98272/
TLDR;
- @media print
- conversion factors:
https://www.w3schools.com/cssref/css_units.asp
Printing header and footer:
https://medium.com/@Idan_Co/the-ultimate-print-html-template-with-header-footer-568f415f6d2a
Avoid page breaks for last / first page from creating blank page:
https://stackoverflow.com/a/7847290
html-pdf:
use file-system paths for images
https://stackoverflow.com/a/53467747
How to test printing styling without converting to pdf
https://uxdesign.cc/i-totally-forgot-about-print-style-sheets-f1e6604cfd6
Printing Stylesheets status as of 2018
https://www.smashingmagazine.com/2018/05/print-stylesheets-in-2018/
Still no way to emulate page breaks, without using print-preview
https://www.jotform.com/blog/css-perfect-print-stylesheet-98272/
TLDR;
- @media print
- conversion factors:
https://www.w3schools.com/cssref/css_units.asp
Printing header and footer:
https://medium.com/@Idan_Co/the-ultimate-print-html-template-with-header-footer-568f415f6d2a
Avoid page breaks for last / first page from creating blank page:
https://stackoverflow.com/a/7847290
html-pdf:
use file-system paths for images
https://stackoverflow.com/a/53467747
How to test printing styling without converting to pdf
https://uxdesign.cc/i-totally-forgot-about-print-style-sheets-f1e6604cfd6
Printing Stylesheets status as of 2018
https://www.smashingmagazine.com/2018/05/print-stylesheets-in-2018/
Still no way to emulate page breaks, without using print-preview

Comments
Post a Comment