I
Asked
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.
- MSAnsweredHello,
No, those are the file changed for the print the issue.
Thank you - IAnsweredThe 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> - IAnsweredI use the browser dialog to print.
- MSAnsweredYes, only style code is added. Thank you
- IAnsweredThe demo site does not work either.
- MSAnsweredHello,
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 - IAnsweredWhere do I this? "You can set the max-width for table as you like."
- MSAnsweredHello,
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 - IAnsweredHow much is, do it this change?
- MSAnsweredHello,
Search for the `<table` in `themes/default/views/pos/view.php` and add new class `small-table` Now in your css
```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