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
- MSAnswered
Hello,
We can’t check local installations.
Anyway I will test it and update the item.
Thank you
- JCAnswered
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
- MSAnswered
Hello,
No, still testing. I hope I will release an update tomorrow.
Thank you
- MSAnswered
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
- JCAnswered
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
- MSAnswered
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 ofthemes/default/assets/dev/js/pos.js
and minified withnpx gulp libsPosjs
after installing the dependencies withnpm i
Thank you
- JCAnswered
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
- MSAnswered
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 forbill-total-table
The line has style withmargin-bottom:0;
that can be changed tomargin-bottom:30px;
Thank you
- MAnswered
Hello how i can modify print bill template i need to remove some values
- MSAnswered
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