sunmi_printer_plus 4.1.0 copy "sunmi_printer_plus: ^4.1.0" to clipboard
sunmi_printer_plus: ^4.1.0 copied to clipboard

PlatformAndroid

Support V2 Pro Sunmi Label Version and Null safety. With this package you can connect with Sunmi printers, print text, image, qrcode, barcodes and a custom Esc/Pos if you like.

Changelog #

4.1.0# #

Improve doc, remove IOS needs and make a few changes in code trying to maintain compatible as possible with 3.0.0

4.0.2# #

Improve doc and remove the required alignment in image(Default LEFT)

4.0.1# #

Just improve pub points with documentation.

4.0.0# #

A WHOLE NEW package (minor break change) #

One important breakchange is the column in printRow. #

I was needed to improve this method to get the benefits of the implementation.

  • The older version (from aidl) , sometimes that was not possible to print arabic or chinese text, now it is!
  • The other improvment: now in printRow you can send a whole sunmiStyle to do a new cusomization as you need!

Now i am using the dependencie from gradle and abandon the aidlservice. #

Doing that, i have a lot of control with the printer methods and the whole device! I took me 3 weeks to make this code good to be release, so before you upgrade to 4.0.0 consider to test all your project before GO LIVE

3.0.1# #

-Make compatible with dart >=3.5.0

3.0.0# #

-Upgrade to latest flutter version.

2.1.03# #

-Upgrade gradle to compileSdkVersion 34 in android core! Tks to Shelmo

2.1.02# #

  • Print label returns!

2.1.01# #

  • Add the querie to work with V2s devices Thanks to @FrenkyDema

2.1.00# #

  • Create some cash drawer methods to use when it's connected in the USB
  • Upgrade de flutter version to 1.15.1
  • Upgrade the kotlin and gradle to major versions

2.0.13# #

  • Replace the method to print row to native sunmi (but will cannot print arabic at this moment)
  • build a custom size font method called setCustomFontSize and you can put any integer to fit an not use the pre defined like XL, SM and etc!

2.0.12# #

  • LCD functions fot T2mini Thanks to make this AWESOME PR @ytyng

2.0.11# #

  • Fixed exceptions with a device that is not sunmi.
  • This is good if you have a hybrid app with just a condition to start or not sunmi printer. Thanks to open the issue @aoeminh

2.0.10 #

  • Print the arabic text in ColumnMaker wasn't working. Now it's fixed and the example will print chinese, russian and arabic.
    Thanks AGAIN!!! to open the issue @akshaykalola28

2.0.9 #

  • This package still ( and i think will never) woks in IOS, but now you can generate your apps in IOS without exceptions.
    Thanks to open the issue @akshaykalola28

2.0.8 #

  • Removed Label Printing Support , because the aidl don't give the support anymore (updated the IWoyouService)
  • Update the printText method, now you can set the style, bold and size in the method.
  • ✅ cutPaper - Dedicated method just to cut the line
  • ✅ getPrinterSerialNo - Get the serial number of the printer
  • ✅ getPrinterVersion - Get the printer's version
  • ✅ getPrinterPaper - Get the paper size ( 0: 80mm 1: 58mm)

2.0.7 #

  • Code format

2.0.6 #

  • Fix enum.dart to format issues

2.0.5 #

  • Fix enum.dart to format issues

2.0.4 #

  • Fix some code to increase Pub points

2.0.3 #

  • Fixed Barcode Example

2.0.2 #

  • Fixed pubspec.yaml

2.0.1 #

  • Fixed Readme

2.0.0 #

  • 2.0.0 release
  • Update Readme
  • Enable Null Safety Support
  • Label Printing Support For Sunmi V2 Pro
  • Refine existing features
  • Minor bug fixed
  • Included Qrcode print
  • Included Column print
  • Included Barcode print
  • Included method to print with escpos
  • Included bold mode On/Off
  • Included font size change:
    • Extra small
    • Small
    • Medium (default)
    • Large
    • Extra Large
125
likes
160
points
5.68k
downloads

Publisher

verified publishermarcus.brasizza.com

Weekly Downloads

Support V2 Pro Sunmi Label Version and Null safety. With this package you can connect with Sunmi printers, print text, image, qrcode, barcodes and a custom Esc/Pos if you like.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on sunmi_printer_plus