-
-
Notifications
You must be signed in to change notification settings - Fork 360
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
buzzer integrated #525
Comments
Hi Dantsu, could you give me some help? I found the code for the internal buzzer, but when I send it I get an error. I attach the code and error, what am I doing wrong? The error is in the line printerConnection.send(1); Caused by: com.dantsu.escposprinter.exceptions.EscPosConnectionException: Unable to send data to device. |
To send the commands, you need to make the printerConnection public, then you can send commands easily; For example, the below can be used to turn the printer into paging mode, and auto-feed to the next page on reset.
To use it, you need to construct the EscPosPrinter as
|
Hi, congratulations, your project also works very well with Italian printers. Can I ask you if you have also planned to activate the buzzer integrated into the printers when cutting the paper? or is it possible to send escpos commands directly to the printer?
Thank you
The text was updated successfully, but these errors were encountered: