thon-ju / bluetooth_print

a flutter plugin connect to bluetooth thermal printer support both Android and IOS (eg. Gprinter pt-380、gp-1324、gp-2120)
MIT License
149 stars 193 forks source link

Esc print ios #170

Open shutingYin opened 1 year ago

shutingYin commented 1 year ago

image

When I used this plugin, I found that no matter how to set the length, it would automatically run a section of paper. I looked at the ios source code and found that config doesn't work when esc prints. Then [command addPrintAndFeedLines:4] is automatically added at the end

Want to turn the end of the paper into a configurable option, and you can set the length of the paper configurable, add addSetPrintingAreaWidth configuration.