Well, my problem is this. I am developing a web system and I use ASP.NET MVC, I was able to generate a tab where the layout I present is null . However, I was unable to set up the print correctly for a dot matrix printer.
The size of the matrix sheet is 1/2 page ( Width : 21.4 / Height : 13,7). What would be the best page size, font, and font size for such an impression? Or are such settings made directly to the printer?
PS: I tried the code below and it did not work as expected.
PS²: I'm using
window.print();
to call the modal print in chrome.
@media print {
html, body {
width: 5.5in; /* was 8.5in */
height: 8.5in; /* was 5.5in */
display: block;
font-family: "Calibri";
/*font-size: auto; NOT A VALID PROPERTY */
}
@page {
size: 5.5in 8.5in /* . Random dot? */;
}
}