Skip to content
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

Fix/ios print digitup printer #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ugifractal
Copy link
Contributor

No description provided.

@ugifractal
Copy link
Contributor Author

When I used my digitup printer, I got error because this printer doesn't have characteristics with properties.write == true. But This device has properties.writeWithoutResponse == true. So my PR actually use properties.write to find the characteristics, if the result is empty then use properties.writeWithoutResponse == true to get the characteristics. And seem working on mine.

@iandis
Copy link
Contributor

iandis commented Feb 10, 2022

Hi, thank you for contributing to this repository! However, since I don't know what printer you're using with this library, could you please give me a link to it? Thanks!

@ugifractal
Copy link
Contributor Author

Hi, thank you for contributing to this repository! However, since I don't know what printer you're using with this library, could you please give me a link to it? Thanks!

here https://www.tokopedia.com/okayindonesia/printer-bluetooth-thermal-kasir-dt-58d-ok-58d-thermal-printer-dt-58d

@ankush-ppie
Copy link

When I used my digitup printer, I got error because this printer doesn't have characteristics with properties.write == true. But This device has properties.writeWithoutResponse == true. So my PR actually use properties.write to find the characteristics, if the result is empty then use properties.writeWithoutResponse == true to get the characteristics. And seem working on mine.

Hi, thanks for contribution. Helpful & working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants