-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prints large space after printing the receipt #75
Comments
Same issue. |
if you find any solution please let me know |
Hi @A7mdlbanna, i found the solution. You can use this package, worked fine for me. And thanks to you @iandis. |
Hi @arifai Thanks for your help. I found a way to work around the bug. so i found this package that takes a content of HTML (which i used this package to generate) but prints the invoice without large spacing. |
Hello @A7mdlbanna @arifai Just add this patch in your code or fork this library blue_print_pos. |
@arifai sudah nemu solusinya kah bang? terus cara pakai packaeg dari @iandis gimana bang? |
Bisa pake cara ini bang: blue_print_pos:
git:
url: https://github.com/iandis/blue_print_pos.git
ref: refactor/new-bluetooth-package Tambahin dibagian blue_print_pos:
git:
url: https://github.com/ankush-ppie/blue_print_pos/tree/master
ref: master |
@arifai oke makasih bang saya coba dulu |
When I print an invoice it prints more space after the data I want to print (Its size changes with the size of the total printed data)
note: the extra space doesn't exist when I take the HTML code and turn it into an image.
and also when I use
the output is the invoice with borders on the sides (right, bottom) but with no extra space in the invoice.
but when I use my printer this is what it looks like:
could you please tell me how to avoid getting the space or stopping printing after reaching the end of the data?
and here is the code to start printing the invoice:
The text was updated successfully, but these errors were encountered: