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.
- MSAnswered
Hello,
No, those are the file changed for the print the issue.
Thank you
- IAnswered
The new code added to these files is this?
- IAnswered
I use the browser dialog to print.
- MSAnswered
Yes, only style code is added. Thank you
- IAnswered
The demo site does not work either.
- MSAnswered
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
- IAnswered
Where do I this? “You can set the max-width for table as you like.”
- MSAnswered
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
- IAnswered
How much is, do it this change?
- MSAnswered
Hello,
Search for the
<table
inthemes/default/views/pos/view.php
and add new classsmall-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
- Login to Reply