Skip to content

A Cordova/Phonegap driver for Zebra bluetooth printers

License

Notifications You must be signed in to change notification settings

agenteCloud/zbtprinter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zbtprinter

A Cordova/Phonegap driver for Zebra bluetooth printers

##Usage You can send data in ZPL Zebra Programing Language:

cordova.plugins.zbtprinter.print("^XA^FO10,10^AFN,26,13^FDHello, World!^FS^XZ",
    function(success) { 
        alert("Print ok"); 
    }, function(fail) { 
        alert(fail); 
    }
);

##Install ###Cordova

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

###Very important!

This plugin is in developer version, you need to set MAC Address of your printer at following file:

src/android/it/zenitlab/cordova/plugins/zbtprinter/ZebraBluetoothPrinter.java

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

About

A Cordova/Phonegap driver for Zebra bluetooth printers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 80.5%
  • JavaScript 19.5%