Skip to content

How to Replace the Value charsPerLine 25 in the New Method Printer.addTextLine? #196

Answered by tr3v3r
souhailtourjmen asked this question in Q&A
Discussion options

You must be logged in to vote

@souhailtourjmen I've removed this since this method was mostly for automatic layout detection.

You have two options:

  1. raise a PR with this option for this function . Just add custom charsPerLine property. Then I can merge and release new version for you

  2. 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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@souhailtourjmen
Comment options

Answer selected by souhailtourjmen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants