cordova-plugin-epson-spectrum
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -18,3 +18,3 @@ { | ||
}, | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"scripts": { | ||
@@ -21,0 +21,0 @@ "test": "echo \"Error: no test specified\" && exit 1" |
100
README.md
@@ -34,2 +34,4 @@ # cordova-plugin-epson-spectrum | ||
* addSound | ||
* addImage | ||
* addLogo | ||
``` | ||
@@ -48,3 +50,43 @@ | ||
builder: [ | ||
{ | ||
{ | ||
method: "addTextPosition", | ||
params: [ | ||
{ | ||
index: 0, | ||
value: 0 | ||
} | ||
] | ||
}, | ||
{ | ||
method: "addTextSmooth", | ||
params: [ | ||
{ | ||
index: 0, | ||
value: 1 | ||
} | ||
] //TRUE = 1; FALSE = 0; | ||
}, | ||
{ | ||
method: "addTextStyle", | ||
params: [ | ||
{ | ||
index: 0, | ||
value: 0 //TRUE = 1; FALSE = 0; | ||
}, | ||
{ | ||
index: 1, | ||
value: 0, //TRUE = 1; FALSE = 0; | ||
}, | ||
{ | ||
index: 2, | ||
value: 0, //TRUE = 1; FALSE = 0; | ||
}, | ||
{ | ||
index: 3, | ||
value: 1, //COLOR_NONE = 0; COLOR_1 = 1; COLOR_2 = 2; COLOR_3 = 3; COLOR_4 = 4; | ||
} | ||
], | ||
}, | ||
{ | ||
method: "addText", | ||
@@ -57,3 +99,59 @@ params: [ | ||
] | ||
}, | ||
{ | ||
method: "addBarcode", | ||
params: [ | ||
{ | ||
index: 0, | ||
value: "5012345678900" | ||
}, | ||
{ | ||
index: 1, | ||
value: 2 | ||
}, | ||
{ | ||
index: 2, | ||
value: 2 | ||
}, | ||
{ | ||
index: 3, | ||
value: 0 | ||
}, | ||
{ | ||
index: 4, | ||
value: 2 | ||
}, | ||
{ | ||
index: 5, | ||
value: 12 | ||
} | ||
] | ||
}, | ||
{ | ||
method: "addSound", | ||
params: [ | ||
{ | ||
index: 0, | ||
value: 8 | ||
}, | ||
{ | ||
index: 1, | ||
value: 3 | ||
}, | ||
{ | ||
index: 2, | ||
value: 1000 | ||
} | ||
] | ||
}, | ||
{ | ||
method: "addCut", | ||
params: [ | ||
{ | ||
index: 0, | ||
value: 1 // CUT_NO_FEED = 0; CUT_FEED = 1; CUT_RESERVE = 2; | ||
} | ||
] | ||
} | ||
] | ||
] | ||
@@ -60,0 +158,0 @@ }]; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24664729
167