cordova-plugin-positiva-zbtprinter v1.6.8
cordova-plugin-positiva-zbtprinter
This plugin defines a global 'cordova.plugins.zbtprinter' object, which provides an API for printing base64 images on a Zebra printer and discovering Zebra printers with Bluetooth.
Usage
Images can be printed on a Zebra printer in base64 format:
cordova.plugins.zbtprinter.printImage(base64StringArray, MACAddress,
function(success) {
alert("Print ok");
}, function(fail) {
alert(fail);
}
);
Discover nearby bluetooth Zebra printers:
cordova.plugins.zbtprinter.discoverPrinters(
function(MACAddress) {
alert("discovered a new printer: " + MACAddress);
}, function(fail) {
alert(fail);
}
)
Retrieve the currently connected printer name:
cordova.plugins.zbtprinter.getPrinterName(MACAddress,
function(printerName) {
alert("Printer name: " + printerName);
}, function(fail) {
alert(fail);
}
);
Installation
cordova plugin add https://github.com/PositivaMitja/zebraprint
ZPL - Zebra Programming Language
For more information about ZPL please see the PDF Official Manual
This plugin is based on mmilidoni's zebra printer plugin and can be found here: https://github.com/mmilidoni/zbtprinter.git
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago