0
Hi, I would like to adjust the size of the page when I reprint the receipts in List Sales to 80mm. Which files control this? The actual size is A4 and cutoff the 80mm paper.
0
Hello,
No, those are the file changed for the print the issue.
Thank you
0
The new code added to these files is this?
<style>
@media print {
html, body, .pos, .modal, .modal-dialog {
min-width: 200px !important;
width: auto !important;
}
}
</style>
0
I use the browser dialog to print.
0
Yes, only style code is added. Thank you
0
The demo site does not work either.
0
Hello,
That is due to table width, table can't shrink more than that so the preview will be like this.
You can set the max-width for table as you like.
Thank you
0
Where do I this? "You can set the max-width for table as you like."
0
Hello,
You can add a class to the table on receipt view file themes/default/views/pos/view.php
and then style that class for as you need.
Thank you
0
How much is, do it this change?
0
Hello,
Search for the <table
in themes/default/views/pos/view.php
and add new class small-table
Now in your css
<style>
@media print {
html, body, .pos, .modal, .modal-dialog {
min-width: 200px !important;
width: auto !important;
}
.small-table {
max-width: 180px; /* change or add rules as you need */
}
}
</style>
Thank you
Showing 11 to 20 of total 22 records
We use Cookies
We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.