How to Replace the Value charsPerLine 25 in the New Method Printer.addTextLine? #196
Answered
by
tr3v3r
souhailtourjmen
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
tr3v3r
Nov 22, 2024
Replies: 1 comment 1 reply
-
@souhailtourjmen I've removed this since this method was mostly for automatic layout detection. You have two options:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
souhailtourjmen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@souhailtourjmen I've removed this since this method was mostly for automatic layout detection.
You have two options:
raise a PR with this option for this function . Just add custom charsPerLine property. Then I can merge and release new version for you
you can switch to printing from React Native View method for better Developer experience
https://github.com/tr3v3r/react-native-esc-pos-printer/blob/main/docs/QUICK_START.md#2-print-from-react-native-view