Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #15 from Sigman32/fix_barcode_printing
Browse files Browse the repository at this point in the history
Fixed printing barcode
  • Loading branch information
labibramadhan authored Dec 12, 2018
2 parents 067a445 + 0d18f56 commit 686ed4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/innerprinter.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ module.exports = {
},
printBarCode: function (barCodeData, symbology, width, height, textPosition) {
return new Promise(function (resolve, reject) {
cordova.exec(resolve, reject, "Printer", "printBitmap", [barCodeData, symbology, width, height, textPosition]);
cordova.exec(resolve, reject, "Printer", "printBarCode", [barCodeData, symbology, width, height, textPosition]);
});
},
printQRCode: function (qrCodeData, moduleSize, errorLevel) {
Expand Down

0 comments on commit 686ed4a

Please sign in to comment.