paystory-de / thermal-printer-cordova-plugin

Cordova wrapper for ESC/POS Thermal Printer library
Apache License 2.0
50 stars 39 forks source link

Printers settings has been added as parameters #14

Closed IagoRocha3112 closed 2 years ago

IagoRocha3112 commented 2 years ago

Example of use

ThermalPrinter.printFormattedTextAndCut({
          type: printerToUse.type,
          id: printerToUse.id,
          text: strText,
          mmFeedPaper: 120,
          printerWidthMM: 68,
          printerNbrCharactersPerLine: 48,
          charsetEncoding: {
            charsetName: 'IBM860',
            charsetId: 3
          }
},
...
patrickbussmann commented 2 years ago

Would be nice to add your example to the readme, too. But its merged now 😊