Question: Print Order And Print Bill Print Error

Print Order And Print Bill Print Error

Hi, "Print Order and Print Bill Preview Print Error/Out of paper" I just buy this simplePOS yesterday, I have a problem, print order and print bill preview on small paper is not show

JC

Joko Ceper

Asked

Hi,

“Print Order and Print Bill Preview Print Error/Out of paper”

I just buy this simplePOS yesterday, I have a problem, print order and print bill preview on small paper is not show fully or out of paper,

i have printer thermal 58mm the preview print is now show, if i user printer 80mm the preview before print is half on left side only, if on A4 paper is on center of pages, but if i change A5 or A6 paper preview is half of result.

please help me, because the option print order and print bill in important for me.

on payment reciept print is ok no problem, but on print order and print bill error preview not on center depend of size paper. please see attactment to see the problem.

i attact 4 preview sc, defferent paper size thanks regard

  • MS

    Mian Saleem

    Answered

    Hello,

    We can’t check local installations.

    Anyway I will test it and update the item.

    Thank you

  • JC

    Joko Ceper

    Answered

    Hello,

    Any update on your test? you can test on you online demo https://spos.tecdiary.net/pos this demo also not working print order and print bill on printer paper A6 or 80mm or 58mm, check this on online demo

    thanks

  • MS

    Mian Saleem

    Answered

    Hello,

    No, still testing. I hope I will release an update tomorrow.

    Thank you

  • MS

    Mian Saleem

    Answered

    Hello,

    I am sorry as I missed this. Please add the code to themes/default/views/pos/index.php and then check.

    <style>
    @media print {
      html, body, .pos, .modal, .modal-dialog {
        min-width: 200px !important;
        width: auto !important;
      }
    }
    </style>
    

    Thank you

  • JC

    Joko Ceper

    Answered

    Hello,

    Very Good jobs, thanks now print preview ok and print OK, …-😃 may i know file view print bill and order, i will settup for style font and format…?

    Thanks you so much Regard

  • MS

    Mian Saleem

    Answered

    Hello,

    The print modal code is generated with javascript and the code file is themes/default/assets/dist/js/pos.min.js that is minified version of themes/default/assets/dev/js/pos.js and minified with npx gulp libsPosjs after installing the dependencies with npm i

    Thank you

  • JC

    Joko Ceper

    Answered

    hello, i ask one more questions, how to given space on bottom of print order and print bill arround 30px, because if i print space bettwen the other is so close and i cant cut using printer thermal.

    thanks

  • MS

    Mian Saleem

    Answered

    Hello,

    You can modoify the item code as you need. The easiest way would be modifing the themes/default/views/pos/index.php and searching for bill-total-table The line has style with margin-bottom:0; that can be changed to margin-bottom:30px;

    Thank you

  • M

    merab

    Answered

    Hello how i can modify print bill template i need to remove some values

  • MS

    Mian Saleem

    Answered

    merab Please ask a new question, the bill code is generated with js file themes/default/assets/dev/js/pos.js. Thank you

  • Login to Reply