Open mohdmehraj66 opened 1 month ago
@mohdmehraj66 Our API uses TCP#9100 to send data to the printer. However, TCP#9100 will probably not be available if the printer is in an unrecoverable state. Therefore, I would like to propose a way to reboot the printer using TCP#22222. Please refer to my comment in Issue #29. This method is a way to perform a hard reboot. Unfortunately, there are no ways to perform a soft reboot.
Description
I hope this message finds you well. I am a Product Manager at Innowi Inc., where we build Point of Sale (POS) systems for restaurants, utilizing Star printers for printing both kitchen and customer receipts.
Some of our customers have encountered an issue where the printer enters an unrecoverable state, requiring a manual reboot to restore functionality. I have a few questions regarding potential solutions for this:
Question 1: Is it possible to perform a soft reboot or reset programmatically? If so, could you please provide the steps, along with code snippets or examples, that would enable us to send a reset command directly from our app? This would allow my development team to implement the solution effectively.
Question 2: Is there a way to perform a hard reboot programmatically? If yes, I would appreciate any details or guidance you can provide on how to achieve this.
Additionally, I have noticed that a reset can be triggered when configuring the printer by sending a command through the web interface at http://(Printer IP Address). Is there a way to utilize this method for programmatic resets?
For further context, I have attached a link to the ticket where my development team has outlined the issue we are facing. https://github.com/star-micronics/StarXpand-SDK-Android/issues/29
Your assistance in this matter would be greatly appreciated.
Your device where the bug occurs
Device: POS(ELO), Samsung OS: Android * Version Version 14 and 9 Your printer
Model Names: mC-Print3 Firmware Version: (com.starmicronics:stario10:1.6.0) Interface: Ethernet/LAN
Your development environment
The result of executing the command
ver
on Windows,sw_vers
on macOS,uname –a
on Linux, or these equivalent commands.To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the bug here.