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

WIP: update printing architecture #139

Merged
merged 31 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
a183577
feat(changed): updated printing architecture
tr3v3r Mar 11, 2024
4f32215
feat(add): add print helpers and pairing printer method
tr3v3r Mar 12, 2024
a9fef44
tryToConnectUtil
tr3v3r Mar 13, 2024
cc0f2fd
fix lint
tr3v3r Mar 14, 2024
64e7f04
chore: release 4.0.0-beta.0
tr3v3r Mar 14, 2024
05b993f
feat(changed): add addTextLang method, get rid of legacy code
tr3v3r Mar 15, 2024
065f6a2
add clearCommandBuffer method
Waleed065 Mar 17, 2024
1149aca
fix lint
tr3v3r Mar 17, 2024
ef430d6
chore: release 4.0.0-beta.1
tr3v3r Mar 17, 2024
f0bb84f
move pairBluetoothDevice to Discovery module, move printer helpers to…
tr3v3r Mar 21, 2024
f81ae8f
refactor: remover redundant code, regroup folders, move native consta…
tr3v3r Mar 21, 2024
021cb51
chore: release 4.0.0-beta.2
tr3v3r Mar 28, 2024
7c2047a
Add possibility to inject your own queue engine, exporto all enums an…
tr3v3r Apr 5, 2024
08f2041
chore: release 4.0.0-beta.3
tr3v3r Apr 5, 2024
ec510ef
fix(fixed): fix Android blocking thread, increase timeout for discove…
tr3v3r Apr 26, 2024
9c9e99a
chore: release 4.0.0-beta.4
tr3v3r Apr 26, 2024
482c192
chore: release 4.0.0-beta.5
tr3v3r Apr 26, 2024
9da6f38
feat(added): docs for Printer constructor and connect method, allow t…
tr3v3r May 7, 2024
862821b
chore: release 4.0.0-beta.6
tr3v3r May 7, 2024
a59014d
docs(added): add docs for addText, disconnect, addFeedLine methods
tr3v3r May 11, 2024
1ede5fe
docs(added): add docs for sendData method
tr3v3r May 16, 2024
c01ddc6
doc(added): cover addCut, getPrinterSetting methods
tr3v3r May 21, 2024
952fc69
docs(added): cover getStatus method
tr3v3r May 22, 2024
5445f8c
docs(added): cover addImage method
tr3v3r May 23, 2024
3b78e2b
docs(added): cover addBarcode
tr3v3r May 29, 2024
550ee68
docs(added): cover addSymbol
tr3v3r Jul 17, 2024
18a445b
docs(added) cover addCommand, addPulse, addTextAlign
tr3v3r Jul 18, 2024
5575f1d
docs(added): cover addTextSize, addTextStyle, addTextLang, addTextSmooth
tr3v3r Jul 19, 2024
db0f6aa
docs(added): cover addTextLine static method
tr3v3r Jul 24, 2024
d42ec77
docs(added): finish docs
tr3v3r Jul 25, 2024
1e37295
resolve conflicts
tr3v3r Jul 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 11 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,31 @@ _An unofficial React Native library for printing on an EPSON TM printer with the
| [![npm version](https://badge.fury.io/js/react-native-esc-pos-printer.svg)](https://badge.fury.io/js/react-native-esc-pos-printer) |
|---|





1. [Installation](./docs/INSTALLATION.md)
2. [Quick Print Example](./docs/QUICK_START.md)
3. [API](./docs/API.md)
4. [SDK information (v2.27.0)](./docs/SDK.md)
5. [List of supported printers for Android](./docs/and2270.pdf)
5. [List of supported printers for iOS](./docs/and2270.pdf)
6. [Expo](./docs/EXPO.md)
4. [Expo](./docs/EXPO.md)
5. [SDK information (v2.27.0)](./docs/SDK.md)
6. [List of supported printers for Android](./docs/and2270.pdf)
7. [List of supported printers for iOS](./docs/and2270.pdf)
8. [Examples](./docs/QUICK_START.md)

## Sponsoring
I have only one device (with LAN interface), that means that I can't check any issues connected with multiple printing devices, Bluetooth, USB, etc. So it will be reasonable to buy some additional devices for testing purposes. Please contact me via email if you want to help me with that.

Or you can just send any amount to my [BTC acc](bc1qkarm3y9f5pa5frey2na6e830cqyuzlxtwyme4j).
I'm working on the lib at my free time. If you like the lib and want to support me, you can [buy me a cofee](https://buymeacoffee.com/tr3v3r
). Thanks!


## Troubleshooting
## Known issues

1. For now it's not possible to print and discover on Android simulator. But you can always use real device.

2. If you have an issue with using Flipper on iOS real device, please [try this](./docs/flipperWorkaround.md) workaround.

## Roadmap
- [ ] Add expo example
- [x] Add expo example
- [ ] Add print from react View example
- [x] Reimplement discovering to have implementation close to native SDK
- [ ] Reimplement printing to have implementation close to native SDK
- [ ] Add queue mechanism for quick print
- [x] Reimplement printing to have implementation close to native SDK
- [x] Add queue mechanism for quick print

## License

Expand Down
Loading
Loading