-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
Platform: iosStatus: work in progressCurrently working on this issueCurrently working on this issueTarget: stario10Issues related to the API and other StarIO10 library.Issues related to the API and other StarIO10 library.Type: bugSomething isn't workingSomething isn't working
Description
Phenomenon
When repeatedly printing with an execution of StarPrinter.open() and StarPrinter.close() methods via LAN interface, StarIO10Error.inUse error may be occurred in StarPrinter.open() method.
Conditions for Occurrence
- Printer Interface: LAN (both wired and wireless)
- When the Auto Switch Interface feature of StarIO10 is turned off, or when the connected printer model does not support the Auto Switch Interface.
- After executing the
StarPrinter.close()method on the printer, if theStarPrinter.open()method is executed on the same printer within a few hundred milliseconds.
Cause
It has been identified that after calling the iOS API by Apple Inc. to close the communication port of the printer, there can be a delay before the iOS device sends the communication for the closing process.
During this interval, until the printer receives the port closing process from the iOS device, the next port opening will fail.
Workaround
If the StarIO10Error.inUse error is thrown, please add an wait for approximately 500 milliseconds (*) before re-executing the StarPrinter.open() method.
- In our testing, we have confirmed that a wait time of 500 milliseconds prevents this issue from occurring. However, please adjust according to your individual environment.
Metadata
Metadata
Assignees
Labels
Platform: iosStatus: work in progressCurrently working on this issueCurrently working on this issueTarget: stario10Issues related to the API and other StarIO10 library.Issues related to the API and other StarIO10 library.Type: bugSomething isn't workingSomething isn't working