Skip to content

Fix/ios print digitup printer#42

Open
ugifractal wants to merge 2 commits intoandriyoganp:masterfrom
ugifractal:fix/ios-print-digitup-printer
Open

Fix/ios print digitup printer#42
ugifractal wants to merge 2 commits intoandriyoganp:masterfrom
ugifractal:fix/ios-print-digitup-printer

Conversation

@ugifractal
Copy link
Copy Markdown
Contributor

No description provided.

@ugifractal
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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