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
164 stars 71 forks source link

getPrinterCharsPerLine(seriesName) Error #121

Closed manny-cuboh closed 2 months ago

manny-cuboh commented 11 months ago

Hoping I'm just missing something simple but I am unable to use getPrinterCharsPerLine without it throwing a [Error: ERR_PARAM].

I have tried it with multiple printer series ie. EPOS2_TM_M30, EPOS2_TM_T88, and EPOS2_TM_U220. All 3 come back with the same Error.

I also tried to use the instantiate as well as init before calling the function but this also resulted in the same error being thrown.

Im using it exactly as it shows in the docs await EscPosPrinter.getPrinterCharsPerLine(getPrinterSeriesByName(name))

Any advice would be greatly appreciated

beinmedia-tech commented 11 months ago

same here

tr3v3r commented 2 months ago

Please check version 4.0.0