1.1.9 • Published 8 years ago

cordova-plugin-zbtprinter v1.1.9

Weekly downloads
46
License
-
Repository
github
Last release
8 years ago

zbtprinter

A Cordova/Phonegap driver for Zebra bluetooth printers

This is a fork of https://github.com/mmilidoni/zbtprinter with discovery

##Usage You can find Zebra printer using:

cordova.plugins.zbtprinter.find(function(result) { 
        if(typeof result == 'string') {
          alert(mac); 
        } else {
          alert(result.address + ', ' + result.friendlyName);
        }
    }, function(fail) { 
        alert(fail); 
    }
);

You can send data in ZPL Zebra Programing Language:

cordova.plugins.zbtprinter.print("AC:3F:A4:1D:7A:5C", "! U1 setvar "device.languages" "line_print"\r\nTEXT ***Print test***\r\nPRINT\r\n",
    function(success) { 
        alert("Print ok"); 
    }, function(fail) { 
        alert(fail); 
    }
);

##Install ###Cordova

cordova plugin add https://github.com/michael79bxl/zbtprinter.git

###Phonegap build

<gap:plugin name="cordova-plugin-zbtprinter" source="npm" />

##ZPL - Zebra Programming Language For more information about ZPL please see the PDF Official Manual

1.1.9

8 years ago

1.1.8

8 years ago

1.1.7

9 years ago

1.1.6

9 years ago

1.1.5

9 years ago

1.1.4

9 years ago

1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago