tr3v3r / react-native-esc-pos-printer

An unofficial React Native library for printing on an EPSON TM printer with the Epson ePOS SDK for iOS and Epson ePOS SDK for Android
MIT License
170 stars 70 forks source link

Increased printing time #184

Open Akyna opened 1 month ago

Akyna commented 1 month ago

Description

After updating to this version "^4.2.0" from "^3.1.1" we noticed that printing time increased at least twice. Moreover, sometimes it could take even 3 times more in time.

So for version `"^3.1.1"`` it's always permanent for ~ 4-6 seconds (we are printing the image as a source of trues)

But for version `"^4.2.0"`` it started from 7-8 seconds, then could take 16 - 18 sec.

We deleted a printer from connected devices -- restarted the printer -- reloaded the device ---> time is reduced for 6-8 sec.

But then it was increased again for 1-3 seconds. So it's difficult to decide about the printing time. Could you perform some test cases on your side? Thx in advance

Steps to reproduce

react-native-esc-pos-printer version

4.2.0

React Native version

0.75.3

Platforms

iOS

Workflow

React Native

Architecture

Fabric (New Architecture)

Build type

Debug app & production bundle

Device

Real device

Device model

iPad PRO (11-inch 2nd generation) (18.0)

Acknowledgements

Yes

tr3v3r commented 1 month ago

It would be grate if you could give me reproducible demo

Akyna commented 1 month ago

It would be grate if you could give me reproducible demo

What exactly do you need - a video record? Pls, lemme know - I'll prepare for you the data Cuz our project is under NDA - I can provide only 'printing' part ))

tr3v3r commented 1 month ago

The minimal code to reproduce. Ideally you can create clean project with simple print job and upload to github

Akyna commented 1 month ago

The minimal code to reproduce. Ideally you can create clean project with simple print job and upload to github

Sure, np But, will do it tomorrow - today was a loooong day ))

Akyna commented 1 month ago

The minimal code to reproduce. Ideally you can create clean project with simple print job and upload to github

Done

Akyna commented 3 weeks ago

@tr3v3r hi! Any updates?

tr3v3r commented 3 weeks ago

Hello, not yet sorry. Just a kind reminder that it is an open-source project and can contribute to it only at my spare time.

пн, 21 окт. 2024 г. в 10:21, Andrii Boiko @.***>:

@tr3v3r https://github.com/tr3v3r hi! Any updates?

— Reply to this email directly, view it on GitHub https://github.com/tr3v3r/react-native-esc-pos-printer/issues/184#issuecomment-2425955749, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFVAA3WCIZNBGETZONWCN3LZ4S2QHAVCNFSM6AAAAABPGH74MGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRVHE2TKNZUHE . You are receiving this because you were mentioned.Message ID: @.***>