You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,20 @@ This package contains StarPRNT SDK for supporting to develop applications for St
6
6
7
7
Please refer to the [StarPRNT SDK document](https://www.star-m.jp/starprntsdk-oml-android.html) for supported OS, development environment, and supported printers.
Copy file name to clipboardExpand all lines: SDK/app/src/main/java/com/starmicronics/starprntsdk/ModelCapability.java
+41-5Lines changed: 41 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,9 @@ public class ModelCapability {
58
58
// V5.18.0
59
59
publicstaticfinalintBSC10II = 29;
60
60
61
+
// V5.20.0
62
+
publicstaticfinalintMC_LABEL2 = 30;
63
+
61
64
staticclassModelInfo {
62
65
StringmodelTitle;
63
66
String[] modelNameArray;
@@ -228,6 +231,43 @@ public ModelInfo(String modelTitle,
228
231
true// canUseAutoSwitchInterface
229
232
));
230
233
234
+
put(MC_LABEL2, newModelInfo(
235
+
"mC-Label2", // modelTitle
236
+
newString[]{ // modelNameArray
237
+
"MCL21 (STR-001)", // <-LAN interface
238
+
"mC-Label2-", // <-Bluetooth interface
239
+
"mC-Label2", // <-USB interface
240
+
"MCL21"}, // <-USB interface
241
+
Emulation.StarPRNT, // Emulation
242
+
"", // Default portSettings
243
+
PrinterSettingConstant.PAPER_SIZE_THREE_INCH, // Default paper size
244
+
false, // canSetDrawerOpenStatus
245
+
true, // canPrintTextReceiptSample
246
+
true, // canPrintUtf8EncodedText
247
+
true, // canPrintRasterReceiptSample
248
+
true, // canPrintCjk
249
+
true, // canUseBlackMark
250
+
true, // canUseBlackMarkDetection
251
+
true, // canUsePageMode
252
+
false, // canUseCashDrawer
253
+
true, // canUseBarcodeReader
254
+
true, // canUseCustomerDisplay
255
+
false, // canUsePresenter
256
+
false, // canUseLed
257
+
LedModel.None, // ledModel
258
+
false, // canUseBlinkLed
259
+
true, // canUsePaperPresentStatus
260
+
true, // canGetProductSerialNumber
261
+
0, // settableUsbSerialNumberLength (This printer supports the USB serial number function, but the serial number change function of this sample app is not available for the printer. Please use the Star Configuration or Star Quick Setup Utility for the change function instead.)
262
+
true, // isUsbSerialNumberEnabledByDefault
263
+
false, // canUseMelodySpeaker
264
+
-1, // defaultSoundNumber
265
+
-1, // defaultVolume
266
+
-1, // volumeMax
267
+
-1, // volumeMin
268
+
true// canUseAutoSwitchInterface
269
+
));
270
+
231
271
put(MC_LABEL3, newModelInfo(
232
272
"mC-Label3", // modelTitle
233
273
newString[]{ // modelNameArray
@@ -255,7 +295,7 @@ public ModelInfo(String modelTitle,
255
295
false, // canUseBlinkLed
256
296
true, // canUsePaperPresentStatus
257
297
true, // canGetProductSerialNumber
258
-
16, // settableUsbSerialNumberLength
298
+
0, // settableUsbSerialNumberLength (This printer supports the USB serial number function, but the serial number change function of this sample app is not available for the printer. Please use the Star Configuration or Star Quick Setup Utility for the change function instead.)
0 commit comments