1.0.6 • Published 8 years ago

imb_pluginxbix0l0ff v1.0.6

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

BixolonPrint Corodva Plugin

Cross-platform BixolonPrint Plugin for Cordova / PhoneGap.

Supported Platforms

  • Android
  • iOS

Using the plugin

The plugin creates the object cordova/plugin/BixolonPrint with following methods:

Add line to print

cordova.plugins.bixolonPrint.addLine({
    text       : String,    // text to print
    textAlign  : String,    // text align, default left
    textWidth  : int,       // text width, default 0
    textHeight : int,       // text height, default 0
    fontType   : String,    // font type, A or B
    fontStyle  : String     // font style, bold or underlined or reversed
});

Add line separator

cordova.plugins.bixolonPrint.addHr(simbol String);

Print text lines

cordova.plugins.bixolonPrint.printText(successCallback, errorCallback, cutPaper int);

Cut paper

cordova.plugins.bixolonPrint.cutPaper(successCallback, errorCallback, lineNumber int);

Get printer status

cordova.plugins.bixolonPrint.getStatus(successCallback, errorCallback, printStatus Boolean);

Examples

cordova.plugins.bixolonPrint.addLine("hello cordova!");
cordova.plugins.bixolonPrint.printText(null, null);
1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago