AbobosSoftware / cordova-plugin-brother-label-printer

Cordova and Capacitor plugin for Bother Label Printers
MIT License
10 stars 16 forks source link

Adding customFilePath parameter. #46

Closed TristanGodal closed 2 years ago

TristanGodal commented 2 years ago

This commit proposes the addition of a "customPaperFilePath" parameter taking a path to a .bin file for TD and RJ type printers (Only tested on a TD-2120N), for example (Ionic):

thePrinter.customPaperFilePath = 'assets/printer/bin/51x26.bin';

The addition concerns the Android and iOS platforms.

I don't know if the code is optimal, maybe a review is needed.

arcadius commented 2 years ago

Thank you very much @TristanGodal and @brotherMobileDev :+1: