Hi There,
I know there are plenty of discussion on this already.
I am trying to setup my A5 page print format on ERPNext using the below code. The print format is unsuccessful. When I am generating PDF it always default to A4 page size.
Can you please let me know what I am doing wrong? Is there is anything I need to other than this?
.print-format table, .print-format tr,
.print-format td, .print-format div, .print-format p {
font-family: Monospace;
line-height: 100%;
vertical-align: middle;
}
@media screen {
.print-format {
width: 5.8in;
padding: 0.25in;
min-height: 8.3<style>
.print-format table, .print-format tr,
.print-format td, .print-format div, .print-format p {
font-family: Monospace;
line-height: 100%;
vertical-align: middle;
}
@media screen {
.print-format {
width: 5.8in;
padding: 0.25in;
min-height: 8.3in;
}
}