star-micronics / StarPRNT-SDK-iOS-Swift

StarPRNT SDK for iOS including libraries for supporting application development for Star printers.
https://www.star-m.jp/products/s_print/sdk/starprnt_sdk/manual/ios_swift/en/index.html
Other
42 stars 7 forks source link

Printer Connection Failed!!![BUG] #16

Closed WenzhaoTan-Chowbus closed 1 month ago

WenzhaoTan-Chowbus commented 2 years ago

Description

Your device where the bug occurs

Your printer

Your development environment

Xcode 13.4

To Reproduce

We can't determine what caused this error. And when such an error occurs, we must restart the iPad or reset the iPad network to connect to the printer normally. This happens by accident and we can't reproduce it with a specific scene or demo.

BhavinRgrubbrr commented 2 years ago

@WenzhaoTan-Chowbus @bandit-ibayashi I am facing the same issue. After taking out some receipts, printer is getting disconnected. While checking for printer status it shows: GetParsedStatus: PortException. or Failed to open port

asa47 commented 2 years ago

@WenzhaoTan-Chowbus @BhavinRgrubbrr We are also facing the same issue, were you able to find a solution from your side?

Tatsuki-Yamamoto2731 commented 1 year ago

@WenzhaoTan-Chowbus Maybe the printer IP address is changed regularly by DHCP. In order to avoid this issue, you need to set the static IP address to the printer. Could you please confirm your printer's network setting by self-printing?

How to self-printing: https://www.star-m.jp/products/s_print/mcprint3/manual/en/basicOperations/testPrint.htm

How to setting static IP address https://www.star-m.jp/products/s_print/mcprint3/manual/en/settings/settingsLAN.htm

WenzhaoTan-Chowbus commented 1 year ago

We always use static IP, so I think DHCP cannot change the printer IP address.

Tatsuki-Yamamoto2731 commented 1 year ago

@WenzhaoTan-Chowbus Does this error occur with USB, too? Or Ethernet only?

WenzhaoTan-Chowbus commented 1 year ago

We only use Ethernet

bandit-ibayashi commented 8 months ago

Apologies for the delay in response on this issue. In order to isolate the cause of this Issue, I would like you to try the following when this issue occurs.

Thank you in advance.

bandit-ibayashi commented 1 month ago

We are afraid this Issue is closed as there has been no movement for over 6 months. If you continue to have issues, please let us know.