-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is it possible to print text and barcode OR image with one command #1
Comments
I am having the same issue. My use case is that I want to print first text then a QR code and last another text.
Here the text is printed as QR code if the fontType is "qr". I know that this is not a clean approach but it works for me. The best would be to have a have command which takes an array of commands executing them one by one. If you have another solution I am open for suggestions. |
thank you for the great plugin, it works perfectly, with Text or Barcode or QR
is it possible to print text and barcode OR image with one command like:
cordova.plugins.bixolonPrint.addLine({
text: "hello cordova!\r\n",
textAlign: cordova.plugins.bixolonPrint.TextAlign.CENTER,
fontStyle: cordova.plugins.bixolonPrint.FontStyle.BOLD
});
cordova.plugins.bixolonPrint.printBarCodeOrSomeThing({
text: value,
alignment: 'left', // left, center, right
width: 2, // 1 - 6,
height: 150,
barcodeSystem: cordova.plugins.bixolonPrint.BarCodeSystem.CODE128,
characterPosition: cordova.plugins.bixolonPrint.BarCodeCharacterPosition.BELOW_BAR_CODE
});
cordova.plugins.bixolonPrint.printImageOrSomeThing({
base64Image: b64Image,
alignment: 'left', // left, center, right
width: 2, // 1 - 6,
height: 150,
});
cordova.plugins.bixolonPrint.printComboTextBarcodeImage();
The text was updated successfully, but these errors were encountered: