i want to reduce the font size and margin on pos

0

I want to know how i can reduce the font size and font margin on the POS receipt. selling one product takes a lot of paper printing from my epson tm-t20ii. i want to reduce the page margin and size. In connection to this same paper saving point, please i don't want the QR code portion to show on the pos receipt. Kindly help me which codes to edit to make this changes.
Thanks

Question Resolved For: Stock Manager Advance with Point of Sale Module 0 Votes 4 Answers 2.1k Views
Asked by Bryan Richardson 4 years ago

0

Answered by Mian Saleem

Hello,

You can add your rules as

body {
   font-size: 12px;
}
.order_barcodes {
    display: none;
}

Please be informed that we don't offer support for modifications and modified versions. You are allowed to do it at your own risk as per license

Thank you

0

Answered by Mian Saleem 4 years ago

Hello,

The pos receipt view file is themes/default/admin/pos/view/php It's used for web browser printing option. For others, remote_printing.php in the same folder.

Thank you

0

Answered by Bryan Richardson 4 years ago

what should i change to reduce the font margin and size?? what should i change to remove the barcode from the receipt??

1

Answered by Ammar Alkraidi 4 years ago

Bryan Richardson hi there, I'm a user not a developer or anything so take that in consideration if you want to follow these steps.
Edit the following file;
yourdomain/themes/default/admin/views/pos/view.php
(make a backup of this file for just in case)
open this file and search for
$this->sma->qrcode

around line 333 you will find this line

<?= $this->sma->qrcode('link', urlencode(admin_url('sales/view/' . $inv->id)), 2); ?>

just comment this line to disable it.. like this.
<!-- <?= $this->sma->qrcode('link', urlencode(admin_url('sales/view/' . $inv->id)), 2); ?> -->

This should remove the qr code from your receipt.
regards,

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.