Question: i want to reduce the font size and margin on pos

i want to reduce the font size and margin on pos

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 a

BR

Bryan Richardson

Asked
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
  • MS

    Mian Saleem

    Answered
    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
  • BR

    Bryan Richardson

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

    Mian Saleem

    Answered
    Hello,

    You can add your rules as

    ```css
    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
  • AA

    Ammar Alkraidi

    Answered
    **[Bryan Richardson](/u/akosua-laad)** 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,
  • Login to Reply