react-native-esc-pos-printer icon indicating copy to clipboard operation
react-native-esc-pos-printer copied to clipboard

getPrinterCharsPerLine(seriesName) Error

Open manny-cuboh opened this issue 1 year ago • 1 comments

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

manny-cuboh avatar Oct 19 '23 00:10 manny-cuboh

same here

beinmedia-tech avatar Oct 21 '23 15:10 beinmedia-tech

Please check version 4.0.0

tr3v3r avatar Jul 25 '24 09:07 tr3v3r