Windowprint () difference between chrome and firefox
I am currently setting up a web application that offers the user a way to print barcodes. To do this, I open a print window with window.print()
. On Google-Chrome this works great, I get a preview that looks like this:
In Firefox, the same function opens a dialog that looks like this:
I know Firefox also offers a way to open the preview like in Google Chrome, but is that also possible with JavaScript
?
I am already using CSS styles with print-media
. I made separate stylesheets for this and did not use the one provided @media queries
.
Thank you for your help.
source to share
No one has answered this question yet
See similar questions:
or similar: