@rdlabo/capacitor-brotherprint 6.2.0 → 6.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,44 +4,63 @@
4
4
  *
5
5
  * And name is follow android naming convention.
6
6
  */
7
+ export declare enum BRKMPrinterCustomPaperUnit {
8
+ mm = "mm",
9
+ inch = "inch"
10
+ }
11
+ export declare enum BRKMPrinterCustomPaperType {
12
+ rollPaper = "rollPaper",
13
+ dieCutPaper = "dieCutPaper",
14
+ markRollPaper = "markRollPaper"
15
+ }
7
16
  /**
8
17
  * Android naming: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printermodel.html
9
18
  */
10
19
  export declare enum BRLMPrinterModelName {
20
+ QL_800 = "QL_800",
11
21
  QL_810W = "QL_810W",
12
22
  QL_820NWB = "QL_820NWB",
13
23
  TD_2320D_203 = "TD_2320D_203",
14
24
  TD_2030AD = "TD_2030AD",
15
- TD_2350D_203 = "TD_2350D_203"
25
+ TD_2350D_300 = "TD_2350D_300"
16
26
  }
17
27
  /**
18
28
  * Android naming: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android/labelinfo.html
19
29
  */
20
30
  export declare enum BRLMPrinterLabelName {
21
- W17H54 = "W17H54",
22
- W17H87 = "W17H87",
23
- W23H23 = "W23H23",
24
- W29H42 = "W29H42",
25
- W29H90 = "W29H90",
26
- W38H90 = "W38H90",
27
- W39H48 = "W39H48",
28
- W52H29 = "W52H29",
29
- W62H29 = "W62H29",
30
- W62H100 = "W62H100",
31
- W12 = "W12",
32
- W29 = "W29",
33
- W38 = "W38",
34
- W50 = "W50",
35
- W54 = "W54",
36
- W62 = "W62",
37
- W60H86 = "W60H86",
38
- W62RB = "W62RB",
39
- W54H29 = "W54H29",
40
- W12DIA = "W12DIA",
41
- W24DIA = "W24DIA",
42
- W58DIA = "W58DIA",
43
- W62H60 = "W62H60",
44
- W62H75 = "W62H75"
31
+ DieCutW17H54 = "DieCutW17H54",
32
+ DieCutW17H87 = "DieCutW17H87",
33
+ DieCutW23H23 = "DieCutW23H23",
34
+ DieCutW29H42 = "DieCutW29H42",
35
+ DieCutW29H90 = "DieCutW29H90",
36
+ DieCutW38H90 = "DieCutW38H90",
37
+ DieCutW39H48 = "DieCutW39H48",
38
+ DieCutW52H29 = "DieCutW52H29",
39
+ DieCutW62H29 = "DieCutW62H29",
40
+ DieCutW62H60 = "DieCutW62H60",
41
+ DieCutW62H75 = "DieCutW62H75",
42
+ DieCutW62H100 = "DieCutW62H100",
43
+ DieCutW60H86 = "DieCutW60H86",
44
+ DieCutW54H29 = "DieCutW54H29",
45
+ DieCutW102H51 = "DieCutW102H51",
46
+ DieCutW102H152 = "DieCutW102H152",
47
+ DieCutW103H164 = "DieCutW103H164",
48
+ RollW12 = "RollW12",
49
+ RollW29 = "RollW29",
50
+ RollW38 = "RollW38",
51
+ RollW50 = "RollW50",
52
+ RollW54 = "RollW54",
53
+ RollW62 = "RollW62",
54
+ RollW62RB = "RollW62RB",
55
+ RollW102 = "RollW102",
56
+ RollW103 = "RollW103",
57
+ DTRollW90 = "DTRollW90",
58
+ DTRollW102 = "DTRollW102",
59
+ DTRollW102H51 = "DTRollW102H51",
60
+ DTRollW102H152 = "DTRollW102H152",
61
+ RoundW12DIA = "RoundW12DIA",
62
+ RoundW24DIA = "RoundW24DIA",
63
+ RoundW58DIA = "RoundW58DIA"
45
64
  }
46
65
  export declare type BRLMPrinterAutoCutType = boolean;
47
66
  export declare type BRLMPrinterScaleValueType = number;
@@ -4,46 +4,67 @@
4
4
  *
5
5
  * And name is follow android naming convention.
6
6
  */
7
+ export var BRKMPrinterCustomPaperUnit;
8
+ (function (BRKMPrinterCustomPaperUnit) {
9
+ BRKMPrinterCustomPaperUnit["mm"] = "mm";
10
+ BRKMPrinterCustomPaperUnit["inch"] = "inch";
11
+ })(BRKMPrinterCustomPaperUnit || (BRKMPrinterCustomPaperUnit = {}));
12
+ export var BRKMPrinterCustomPaperType;
13
+ (function (BRKMPrinterCustomPaperType) {
14
+ BRKMPrinterCustomPaperType["rollPaper"] = "rollPaper";
15
+ BRKMPrinterCustomPaperType["dieCutPaper"] = "dieCutPaper";
16
+ BRKMPrinterCustomPaperType["markRollPaper"] = "markRollPaper";
17
+ })(BRKMPrinterCustomPaperType || (BRKMPrinterCustomPaperType = {}));
7
18
  /**
8
19
  * Android naming: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printermodel.html
9
20
  */
10
21
  export var BRLMPrinterModelName;
11
22
  (function (BRLMPrinterModelName) {
23
+ BRLMPrinterModelName["QL_800"] = "QL_800";
12
24
  BRLMPrinterModelName["QL_810W"] = "QL_810W";
13
25
  BRLMPrinterModelName["QL_820NWB"] = "QL_820NWB";
14
26
  BRLMPrinterModelName["TD_2320D_203"] = "TD_2320D_203";
15
27
  BRLMPrinterModelName["TD_2030AD"] = "TD_2030AD";
16
- BRLMPrinterModelName["TD_2350D_203"] = "TD_2350D_203";
28
+ BRLMPrinterModelName["TD_2350D_300"] = "TD_2350D_300";
17
29
  })(BRLMPrinterModelName || (BRLMPrinterModelName = {}));
18
30
  /**
19
31
  * Android naming: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android/labelinfo.html
20
32
  */
21
33
  export var BRLMPrinterLabelName;
22
34
  (function (BRLMPrinterLabelName) {
23
- BRLMPrinterLabelName["W17H54"] = "W17H54";
24
- BRLMPrinterLabelName["W17H87"] = "W17H87";
25
- BRLMPrinterLabelName["W23H23"] = "W23H23";
26
- BRLMPrinterLabelName["W29H42"] = "W29H42";
27
- BRLMPrinterLabelName["W29H90"] = "W29H90";
28
- BRLMPrinterLabelName["W38H90"] = "W38H90";
29
- BRLMPrinterLabelName["W39H48"] = "W39H48";
30
- BRLMPrinterLabelName["W52H29"] = "W52H29";
31
- BRLMPrinterLabelName["W62H29"] = "W62H29";
32
- BRLMPrinterLabelName["W62H100"] = "W62H100";
33
- BRLMPrinterLabelName["W12"] = "W12";
34
- BRLMPrinterLabelName["W29"] = "W29";
35
- BRLMPrinterLabelName["W38"] = "W38";
36
- BRLMPrinterLabelName["W50"] = "W50";
37
- BRLMPrinterLabelName["W54"] = "W54";
38
- BRLMPrinterLabelName["W62"] = "W62";
39
- BRLMPrinterLabelName["W60H86"] = "W60H86";
40
- BRLMPrinterLabelName["W62RB"] = "W62RB";
41
- BRLMPrinterLabelName["W54H29"] = "W54H29";
42
- BRLMPrinterLabelName["W12DIA"] = "W12DIA";
43
- BRLMPrinterLabelName["W24DIA"] = "W24DIA";
44
- BRLMPrinterLabelName["W58DIA"] = "W58DIA";
45
- BRLMPrinterLabelName["W62H60"] = "W62H60";
46
- BRLMPrinterLabelName["W62H75"] = "W62H75";
35
+ BRLMPrinterLabelName["DieCutW17H54"] = "DieCutW17H54";
36
+ BRLMPrinterLabelName["DieCutW17H87"] = "DieCutW17H87";
37
+ BRLMPrinterLabelName["DieCutW23H23"] = "DieCutW23H23";
38
+ BRLMPrinterLabelName["DieCutW29H42"] = "DieCutW29H42";
39
+ BRLMPrinterLabelName["DieCutW29H90"] = "DieCutW29H90";
40
+ BRLMPrinterLabelName["DieCutW38H90"] = "DieCutW38H90";
41
+ BRLMPrinterLabelName["DieCutW39H48"] = "DieCutW39H48";
42
+ BRLMPrinterLabelName["DieCutW52H29"] = "DieCutW52H29";
43
+ BRLMPrinterLabelName["DieCutW62H29"] = "DieCutW62H29";
44
+ BRLMPrinterLabelName["DieCutW62H60"] = "DieCutW62H60";
45
+ BRLMPrinterLabelName["DieCutW62H75"] = "DieCutW62H75";
46
+ BRLMPrinterLabelName["DieCutW62H100"] = "DieCutW62H100";
47
+ BRLMPrinterLabelName["DieCutW60H86"] = "DieCutW60H86";
48
+ BRLMPrinterLabelName["DieCutW54H29"] = "DieCutW54H29";
49
+ BRLMPrinterLabelName["DieCutW102H51"] = "DieCutW102H51";
50
+ BRLMPrinterLabelName["DieCutW102H152"] = "DieCutW102H152";
51
+ BRLMPrinterLabelName["DieCutW103H164"] = "DieCutW103H164";
52
+ BRLMPrinterLabelName["RollW12"] = "RollW12";
53
+ BRLMPrinterLabelName["RollW29"] = "RollW29";
54
+ BRLMPrinterLabelName["RollW38"] = "RollW38";
55
+ BRLMPrinterLabelName["RollW50"] = "RollW50";
56
+ BRLMPrinterLabelName["RollW54"] = "RollW54";
57
+ BRLMPrinterLabelName["RollW62"] = "RollW62";
58
+ BRLMPrinterLabelName["RollW62RB"] = "RollW62RB";
59
+ BRLMPrinterLabelName["RollW102"] = "RollW102";
60
+ BRLMPrinterLabelName["RollW103"] = "RollW103";
61
+ BRLMPrinterLabelName["DTRollW90"] = "DTRollW90";
62
+ BRLMPrinterLabelName["DTRollW102"] = "DTRollW102";
63
+ BRLMPrinterLabelName["DTRollW102H51"] = "DTRollW102H51";
64
+ BRLMPrinterLabelName["DTRollW102H152"] = "DTRollW102H152";
65
+ BRLMPrinterLabelName["RoundW12DIA"] = "RoundW12DIA";
66
+ BRLMPrinterLabelName["RoundW24DIA"] = "RoundW24DIA";
67
+ BRLMPrinterLabelName["RoundW58DIA"] = "RoundW58DIA";
47
68
  })(BRLMPrinterLabelName || (BRLMPrinterLabelName = {}));
48
69
  /**
49
70
  * @url https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#imagerotation
@@ -1 +1 @@
1
- {"version":3,"file":"brother-printer.enum.js","sourceRoot":"","sources":["../../src/brother-printer.enum.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,MAAM,CAAN,IAAY,oBAMX;AAND,WAAY,oBAAoB;IAC9B,2CAAmB,CAAA;IACnB,+CAAuB,CAAA;IACvB,qDAA6B,CAAA;IAC7B,+CAAuB,CAAA;IACvB,qDAA6B,CAAA;AAC/B,CAAC,EANW,oBAAoB,KAApB,oBAAoB,QAM/B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,oBAyBX;AAzBD,WAAY,oBAAoB;IAC9B,yCAAiB,CAAA;IACjB,yCAAiB,CAAA;IACjB,yC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AN,IAAY,8BAIX;AAJD,WAAY,8BAA8B;IACxC,+CAAa,CAAA;IACb,mDAAiB,CAAA;IACjB,iDAAe,CAAA;AACjB,CAAC,EAJW,8BAA8B,KAA9B,8BAA8B,QAIzC;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,wCAAa,CAAA;IACb,wCAAa,CAAA;IACb,0CAAe,CAAA;AACjB,CAAC,EAJW,uBAAuB,KAAvB,uBAAuB,QAIlC;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,wCAAa,CAAA;IACb,wCAAa,CAAA;AACf,CAAC,EAHW,uBAAuB,KAAvB,uBAAuB,QAGlC;AAED;;GAEG;AACH,2CAA2C;AAC3C,iBAAiB;AACjB,uBAAuB;AACvB,mBAAmB;AACnB,IAAI","sourcesContent":["/**\n * Note: If you update this file, you should update the following files:\n * - ios/Plugin/Model/PrinterModel.swift\n *\n * And name is follow android naming convention.\n */\n\n/**\n * Android naming: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printermodel.html\n */\nexport enum BRLMPrinterModelName {\n QL_810W = 'QL_810W',\n QL_820NWB = 'QL_820NWB',\n TD_2320D_203 = 'TD_2320D_203',\n TD_2030AD = 'TD_2030AD',\n TD_2350D_203 = 'TD_2350D_203',\n}\n\n/**\n * Android naming: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android/labelinfo.html\n */\nexport enum BRLMPrinterLabelName {\n W17H54 = 'W17H54',\n W17H87 = 'W17H87',\n W23H23 = 'W23H23',\n W29H42 = 'W29H42',\n W29H90 = 'W29H90',\n W38H90 = 'W38H90',\n W39H48 = 'W39H48',\n W52H29 = 'W52H29',\n W62H29 = 'W62H29',\n W62H100 = 'W62H100',\n W12 = 'W12',\n W29 = 'W29',\n W38 = 'W38',\n W50 = 'W50',\n W54 = 'W54',\n W62 = 'W62',\n W60H86 = 'W60H86',\n W62RB = 'W62RB',\n W54H29 = 'W54H29',\n W12DIA = 'W12DIA',\n W24DIA = 'W24DIA',\n W58DIA = 'W58DIA',\n W62H60 = 'W62H60',\n W62H75 = 'W62H75',\n}\n\nexport type BRLMPrinterAutoCutType = boolean;\nexport type BRLMPrinterScaleValueType = number;\nexport type BRLMPrinterHalftoneThresholdType = number;\nexport type BRLMPrinterNumberOfCopies = number;\n\n/**\n * @url https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#imagerotation\n */\nexport enum BRLMPrinterImageRotation {\n Rotate0 = 'Rotate0',\n Rotate90 = 'Rotate90',\n Rotate180 = 'Rotate180',\n Rotate270 = 'Rotate270',\n}\n\n/**\n * url https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#scalemode\n */\nexport enum BRLMPrinterScaleMode {\n ActualSize = 'ActualSize',\n FitPageAspect = 'FitPageAspect',\n FitPaperAspect = 'FitPaperAspect',\n ScaleValue = 'ScaleValue',\n}\n\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#halftone\n */\nexport enum BRLMPrinterHalftone {\n Threshold = 'Threshold',\n ErrorDiffusion = 'ErrorDiffusion',\n PatternDither = 'PatternDither',\n}\n\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#verticalalignment\n */\nexport enum BRLMPrinterVerticalAlignment {\n Top = 'Top',\n Center = 'Center',\n Bottom = 'Bottom',\n}\n\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#horizontalalignment\n */\nexport enum BRLMPrinterHorizontalAlignment {\n Left = 'Left',\n Center = 'Center',\n Right = 'Right',\n}\n\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#compressmode\n */\nexport enum BRLMPrinterCompressMode {\n None = 'None',\n Tiff = 'Tiff',\n Mode9 = 'Mode9',\n}\n\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#printquality\n */\nexport enum BRLMPrinterPrintQuality {\n Best = 'Best',\n Fast = 'Fast',\n}\n\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#resolution\n */\n// export enum BRLMPrinterPrintResolution {\n// Low = 'Low',\n// Normal = 'Normal',\n// High = 'High',\n// }\n"]}
1
+ {"version":3,"file":"brother-printer.enum.js","sourceRoot":"","sources":["../../src/brother-printer.enum.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAN,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,uCAAS,CAAA;IACT,2CAAa,CAAA;AACf,CAAC,EAHW,0BAA0B,KAA1B,0BAA0B,QAGrC;AAED,MAAM,CAAN,IAAY,0BAIX;AAJD,WAAY,0BAA0B;IACpC,qDAAuB,CAAA;IACvB,yDAA2B,CAAA;IAC3B,6DAA+B,CAAA;AACjC,CAAC,EAJW,0BAA0B,KAA1B,0BAA0B,QAIrC;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,yCAAiB,CAAA;IACjB,2CAAmB,CAAA;IACnB,+CAAuB,CAAA;IACvB,qDAA6B,CAAA;IAC7B,+CAAuB,CAAA;IACvB,qDAA6B,CAAA;AAC/B,CAAC,EAPW,oBAAoB,KAApB,oBAAoB,QAO/B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,oBAkCX;AAlCD,WAAY,oBAAoB;IAC9B,qDAA6B,CAAA;IAC7B,qDAA6B,CAAA;IAC7B,qDAA6B,CAAA;IAC7B,qDAA6B,CAAA;IAC7B,qDAA6B,CAAA;IAC7B,qDAA6B,CAAA;IAC7B,qDAA6B,CAAA;IAC7B,qDAA6B,CAAA;IAC7B,qDAA6B,CAAA;IAC7B,qDAA6B,CAAA;IAC7B,qDAA6B,CAAA;IAC7B,uDAA+B,CAAA;IAC/B,q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AM,CAAN,IAAY,8BAIX;AAJD,WAAY,8BAA8B;IACxC,+CAAa,CAAA;IACb,mDAAiB,CAAA;IACjB,iDAAe,CAAA;AACjB,CAAC,EAJW,8BAA8B,KAA9B,8BAA8B,QAIzC;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,wCAAa,CAAA;IACb,wCAAa,CAAA;IACb,0CAAe,CAAA;AACjB,CAAC,EAJW,uBAAuB,KAAvB,uBAAuB,QAIlC;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,wCAAa,CAAA;IACb,wCAAa,CAAA;AACf,CAAC,EAHW,uBAAuB,KAAvB,uBAAuB,QAGlC;AAED;;GAEG;AACH,2CAA2C;AAC3C,iBAAiB;AACjB,uBAAuB;AACvB,mBAAmB;AACnB,IAAI","sourcesContent":["/**\n * Note: If you update this file, you should update the following files:\n * - ios/Plugin/Model/PrinterModel.swift\n *\n * And name is follow android naming convention.\n */\n\nexport enum BRKMPrinterCustomPaperUnit {\n mm = 'mm',\n inch = 'inch',\n}\n\nexport enum BRKMPrinterCustomPaperType {\n rollPaper = 'rollPaper',\n dieCutPaper = 'dieCutPaper',\n markRollPaper = 'markRollPaper',\n}\n\n/**\n * Android naming: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printermodel.html\n */\nexport enum BRLMPrinterModelName {\n QL_800 = 'QL_800',\n QL_810W = 'QL_810W',\n QL_820NWB = 'QL_820NWB',\n TD_2320D_203 = 'TD_2320D_203',\n TD_2030AD = 'TD_2030AD',\n TD_2350D_300 = 'TD_2350D_300',\n}\n\n/**\n * Android naming: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android/labelinfo.html\n */\nexport enum BRLMPrinterLabelName {\n DieCutW17H54 = 'DieCutW17H54',\n DieCutW17H87 = 'DieCutW17H87',\n DieCutW23H23 = 'DieCutW23H23',\n DieCutW29H42 = 'DieCutW29H42',\n DieCutW29H90 = 'DieCutW29H90',\n DieCutW38H90 = 'DieCutW38H90',\n DieCutW39H48 = 'DieCutW39H48',\n DieCutW52H29 = 'DieCutW52H29',\n DieCutW62H29 = 'DieCutW62H29',\n DieCutW62H60 = 'DieCutW62H60',\n DieCutW62H75 = 'DieCutW62H75',\n DieCutW62H100 = 'DieCutW62H100',\n DieCutW60H86 = 'DieCutW60H86',\n DieCutW54H29 = 'DieCutW54H29',\n DieCutW102H51 = 'DieCutW102H51',\n DieCutW102H152 = 'DieCutW102H152',\n DieCutW103H164 = 'DieCutW103H164',\n RollW12 = 'RollW12',\n RollW29 = 'RollW29',\n RollW38 = 'RollW38',\n RollW50 = 'RollW50',\n RollW54 = 'RollW54',\n RollW62 = 'RollW62',\n RollW62RB = 'RollW62RB',\n RollW102 = 'RollW102',\n RollW103 = 'RollW103',\n DTRollW90 = 'DTRollW90',\n DTRollW102 = 'DTRollW102',\n DTRollW102H51 = 'DTRollW102H51',\n DTRollW102H152 = 'DTRollW102H152',\n RoundW12DIA = 'RoundW12DIA',\n RoundW24DIA = 'RoundW24DIA',\n RoundW58DIA = 'RoundW58DIA',\n}\n\nexport type BRLMPrinterAutoCutType = boolean;\nexport type BRLMPrinterScaleValueType = number;\nexport type BRLMPrinterHalftoneThresholdType = number;\nexport type BRLMPrinterNumberOfCopies = number;\n\n/**\n * @url https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#imagerotation\n */\nexport enum BRLMPrinterImageRotation {\n Rotate0 = 'Rotate0',\n Rotate90 = 'Rotate90',\n Rotate180 = 'Rotate180',\n Rotate270 = 'Rotate270',\n}\n\n/**\n * url https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#scalemode\n */\nexport enum BRLMPrinterScaleMode {\n ActualSize = 'ActualSize',\n FitPageAspect = 'FitPageAspect',\n FitPaperAspect = 'FitPaperAspect',\n ScaleValue = 'ScaleValue',\n}\n\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#halftone\n */\nexport enum BRLMPrinterHalftone {\n Threshold = 'Threshold',\n ErrorDiffusion = 'ErrorDiffusion',\n PatternDither = 'PatternDither',\n}\n\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#verticalalignment\n */\nexport enum BRLMPrinterVerticalAlignment {\n Top = 'Top',\n Center = 'Center',\n Bottom = 'Bottom',\n}\n\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#horizontalalignment\n */\nexport enum BRLMPrinterHorizontalAlignment {\n Left = 'Left',\n Center = 'Center',\n Right = 'Right',\n}\n\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#compressmode\n */\nexport enum BRLMPrinterCompressMode {\n None = 'None',\n Tiff = 'Tiff',\n Mode9 = 'Mode9',\n}\n\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#printquality\n */\nexport enum BRLMPrinterPrintQuality {\n Best = 'Best',\n Fast = 'Fast',\n}\n\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#resolution\n */\n// export enum BRLMPrinterPrintResolution {\n// Low = 'Low',\n// Normal = 'Normal',\n// High = 'High',\n// }\n"]}
@@ -1,26 +1,67 @@
1
1
  import type { PluginListenerHandle } from '@capacitor/core';
2
- import type { BRLMPrinterLabelName, BRLMPrinterModelName, BRLMPrinterAutoCutType, BRLMPrinterCompressMode, BRLMPrinterHalftone, BRLMPrinterHalftoneThresholdType, BRLMPrinterHorizontalAlignment, BRLMPrinterNumberOfCopies, BRLMPrinterPrintQuality, BRLMPrinterImageRotation, BRLMPrinterScaleMode, BRLMPrinterScaleValueType, BRLMPrinterVerticalAlignment } from './brother-printer.enum';
2
+ import type { BRLMPrinterLabelName, BRLMPrinterModelName, BRLMPrinterAutoCutType, BRLMPrinterCompressMode, BRLMPrinterHalftone, BRLMPrinterHalftoneThresholdType, BRLMPrinterHorizontalAlignment, BRLMPrinterNumberOfCopies, BRLMPrinterPrintQuality, BRLMPrinterImageRotation, BRLMPrinterScaleMode, BRLMPrinterScaleValueType, BRLMPrinterVerticalAlignment, BRKMPrinterCustomPaperType, BRKMPrinterCustomPaperUnit } from './brother-printer.enum';
3
3
  import type { BrotherPrintEventsEnum } from './events.enum';
4
4
  export declare type BRLMChannelResult = {
5
- port: 'wifi' | 'bluetooth' | 'bluetoothLowEnergy';
5
+ port: 'usb' | 'wifi' | 'bluetooth' | 'bluetoothLowEnergy';
6
6
  modelName: string;
7
7
  serialNumber: string;
8
8
  macAddress: string;
9
9
  nodeName: string;
10
10
  location: string;
11
- ipAddress: string;
11
+ /**
12
+ * This need to connect to the printer.
13
+ * wifi: IP Address
14
+ * bluetooth: macAddress
15
+ * bluetoothLowEnergy: modelName for bluetoothLowEnergy
16
+ */
17
+ channelInfo: string;
12
18
  };
13
19
  export declare type BRLMPrintOptions = {
14
20
  encodedImage: string;
15
- /**
16
- * Should use enum BRLMPrinterLabelName
17
- */
18
- labelName: BRLMPrinterLabelName;
19
21
  /**
20
22
  * Should use enum BRLMPrinterModelName
21
23
  */
22
24
  modelName: BRLMPrinterModelName;
23
- } & Partial<BRLMChannelResult> & BRLMPrinterSettings;
25
+ } & Partial<BRLMChannelResult> & (BRLMPrinterQLModelSettings | BRLMPrinterTDModelSettings);
26
+ export declare type BRLMPrinterTDModelSettings = {
27
+ /**
28
+ * Should use enum BRKMPrinterCustomPaperType
29
+ */
30
+ paperType: BRKMPrinterCustomPaperType;
31
+ /**
32
+ * The width of the label. For example, the RD-U04J1 is 60.0 wide.
33
+ */
34
+ tapeWidth: number;
35
+ /**
36
+ * The length of the label. For example, the RD-U04J1 is 60.0 wide.
37
+ */
38
+ tapeLength: number;
39
+ /**
40
+ * It is the difference between a sticker and a mount.
41
+ * For example, the RD-U04J1 is `1.0, 2.0, 1.0, 2.0`
42
+ */
43
+ marginTop: number;
44
+ marginRight: number;
45
+ marginBottom: number;
46
+ marginLeft: number;
47
+ /**
48
+ * The spacing between seals. For example, the RD-U04J1 is 0.2.
49
+ */
50
+ gapLength: number;
51
+ paperMarkPosition: number;
52
+ paperMarkLength: number;
53
+ /**
54
+ * Should use enum BRKMPrinterCustomPaperUnit.
55
+ * For example, the RD-U04J1 is mm.
56
+ */
57
+ paperUnit: BRKMPrinterCustomPaperUnit;
58
+ };
59
+ export declare type BRLMPrinterQLModelSettings = {
60
+ /**
61
+ * Should use enum BRLMPrinterLabelName
62
+ */
63
+ labelName: BRLMPrinterLabelName;
64
+ } & BRLMPrinterSettings;
24
65
  /**
25
66
  * These are optional. If these are not set, default values are assigned by the printer.
26
67
  */
@@ -72,7 +113,10 @@ export declare type BRLMPrinterSettings = {
72
113
  printQuality?: BRLMPrinterPrintQuality;
73
114
  };
74
115
  export declare type BRLMSearchOption = {
75
- port: 'wifi' | 'bluetooth' | 'bluetoothLowEnergy';
116
+ /**
117
+ * 'usb' is android only, and now developing.
118
+ */
119
+ port: 'usb' | 'wifi' | 'bluetooth' | 'bluetoothLowEnergy';
76
120
  /**
77
121
  * searchDuration is the time to end search for devices.
78
122
  * default is 15 seconds.
@@ -98,8 +142,21 @@ export interface BrotherPrintPlugin {
98
142
  * Basically, it times out, so there is no need to use it. Use it when you want to run multiple connectType searches at the same time and time out any of them manually.
99
143
  */
100
144
  cancelSearchBluetoothPrinter(): Promise<void>;
145
+ /**
146
+ * Find the printer that can connected to the device.
147
+ */
101
148
  addListener(eventName: BrotherPrintEventsEnum.onPrinterAvailable, listenerFunc: (printers: BRLMChannelResult) => void): Promise<PluginListenerHandle>;
149
+ /**
150
+ * Success Print Event
151
+ */
102
152
  addListener(eventName: BrotherPrintEventsEnum.onPrint, listenerFunc: () => void): Promise<PluginListenerHandle>;
153
+ /**
154
+ * Failed to connect to the printer.
155
+ * ex: Bluetooth is off, Printer is off, etc.
156
+ */
103
157
  addListener(eventName: BrotherPrintEventsEnum.onPrintFailedCommunication, listenerFunc: (info: ErrorInfo) => void): Promise<PluginListenerHandle>;
158
+ /**
159
+ * Failed to print.
160
+ */
104
161
  addListener(eventName: BrotherPrintEventsEnum.onPrintError, listenerFunc: (info: ErrorInfo) => void): Promise<PluginListenerHandle>;
105
162
  }
@@ -1 +1 @@
1
- {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["import type { PluginListenerHandle } from '@capacitor/core';\n\nimport type {\n BRLMPrinterLabelName,\n BRLMPrinterModelName,\n BRLMPrinterAutoCutType,\n BRLMPrinterCompressMode,\n BRLMPrinterHalftone,\n BRLMPrinterHalftoneThresholdType,\n BRLMPrinterHorizontalAlignment,\n BRLMPrinterNumberOfCopies,\n BRLMPrinterPrintQuality,\n BRLMPrinterImageRotation,\n BRLMPrinterScaleMode,\n BRLMPrinterScaleValueType,\n BRLMPrinterVerticalAlignment,\n} from './brother-printer.enum';\nimport type { BrotherPrintEventsEnum } from './events.enum';\n\nexport type BRLMChannelResult = {\n port: 'wifi' | 'bluetooth' | 'bluetoothLowEnergy';\n modelName: string;\n serialNumber: string;\n macAddress: string;\n nodeName: string;\n location: string;\n ipAddress: string;\n};\n\nexport type BRLMPrintOptions = {\n encodedImage: string;\n\n /**\n * Should use enum BRLMPrinterLabelName\n */\n labelName: BRLMPrinterLabelName;\n\n /**\n * Should use enum BRLMPrinterModelName\n */\n modelName: BRLMPrinterModelName;\n} & Partial<BRLMChannelResult> &\n BRLMPrinterSettings;\n\n/**\n * These are optional. If these are not set, default values are assigned by the printer.\n */\nexport type BRLMPrinterSettings = {\n /**\n * The number of copies you print.\n */\n numberOfCopies?: BRLMPrinterNumberOfCopies;\n\n /**\n * Whether the auto-cut is enabled or not. If true, your printer cut the paper each page.\n */\n autoCut?: BRLMPrinterAutoCutType;\n\n /**\n * A scale mode that specifies how your data is scaled in a print area of your printer.\n */\n scaleMode?: BRLMPrinterScaleMode;\n\n /**\n * A scale value. This is effective when ScaleMode is ScaleValue.\n */\n scaleValue?: BRLMPrinterScaleValueType;\n\n /**\n * A way to rasterize your data.\n */\n halftone?: BRLMPrinterHalftone;\n\n /**\n * A threshold value. This is effective when the Halftone is Threshold.\n */\n halftoneThreshold?: BRLMPrinterHalftoneThresholdType;\n\n /**\n * An image rotation that specifies the angle in which your data is placed in the print area. Rotation direction is clockwise.\n */\n imageRotation?: BRLMPrinterImageRotation;\n\n /**\n * A vertical alignment that specifies how your data is placed in the printable area.\n */\n verticalAlignment?: BRLMPrinterVerticalAlignment;\n\n /**\n * A horizontal alignment that specifies how your data is placed in the printable area.\n */\n horizontalAlignment?: BRLMPrinterHorizontalAlignment;\n\n /**\n * A compress mode that specifies how to compress your data.\n * note: This is ios only.\n */\n compressMode?: BRLMPrinterCompressMode;\n\n /**\n * A priority that is print speed or print quality. Whether or not this has an effect is depend on your printer.\n */\n printQuality?: BRLMPrinterPrintQuality;\n\n /**\n * A priority that is print speed or print quality. Whether or not this has an effect is depend on your printer.\n * note: This is ios only. And for some reason, the aspect ratio is broken, so we do not provide this as an API.\n * resolution?: BRLMPrinterPrintResolution;\n */\n};\n\nexport type BRLMSearchOption = {\n port: 'wifi' | 'bluetooth' | 'bluetoothLowEnergy';\n /**\n * searchDuration is the time to end search for devices.\n * default is 15 seconds.\n * use only port is 'wifi' or 'bluetoothLowEnergy'.\n */\n searchDuration: number;\n};\n\nexport type ErrorInfo = {\n message: string;\n code: number;\n};\n\nexport interface BrotherPrintPlugin {\n printImage(options: BRLMPrintOptions): Promise<void>;\n\n /**\n * Search for printers. If not found, it will return an empty array.(not error)\n */\n search(option: BRLMSearchOption): Promise<void>;\n\n /**\n * Basically, it times out, so there is no need to use it. Use it when you want to run multiple connectType searches at the same time and time out any of them manually.\n */\n cancelSearchWiFiPrinter(): Promise<void>;\n\n /**\n * Basically, it times out, so there is no need to use it. Use it when you want to run multiple connectType searches at the same time and time out any of them manually.\n */\n cancelSearchBluetoothPrinter(): Promise<void>;\n\n addListener(\n eventName: BrotherPrintEventsEnum.onPrinterAvailable,\n listenerFunc: (printers: BRLMChannelResult) => void,\n ): Promise<PluginListenerHandle>;\n\n addListener(\n eventName: BrotherPrintEventsEnum.onPrint,\n listenerFunc: () => void,\n ): Promise<PluginListenerHandle>;\n\n addListener(\n eventName: BrotherPrintEventsEnum.onPrintFailedCommunication,\n listenerFunc: (info: ErrorInfo) => void,\n ): Promise<PluginListenerHandle>;\n\n addListener(\n eventName: BrotherPrintEventsEnum.onPrintError,\n listenerFunc: (info: ErrorInfo) => void,\n ): Promise<PluginListenerHandle>;\n}\n"]}
1
+ {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["import type { PluginListenerHandle } from '@capacitor/core';\n\nimport type {\n BRLMPrinterLabelName,\n BRLMPrinterModelName,\n BRLMPrinterAutoCutType,\n BRLMPrinterCompressMode,\n BRLMPrinterHalftone,\n BRLMPrinterHalftoneThresholdType,\n BRLMPrinterHorizontalAlignment,\n BRLMPrinterNumberOfCopies,\n BRLMPrinterPrintQuality,\n BRLMPrinterImageRotation,\n BRLMPrinterScaleMode,\n BRLMPrinterScaleValueType,\n BRLMPrinterVerticalAlignment,\n BRKMPrinterCustomPaperType,\n BRKMPrinterCustomPaperUnit,\n} from './brother-printer.enum';\nimport type { BrotherPrintEventsEnum } from './events.enum';\n\nexport type BRLMChannelResult = {\n port: 'usb' | 'wifi' | 'bluetooth' | 'bluetoothLowEnergy';\n modelName: string;\n serialNumber: string;\n macAddress: string;\n nodeName: string;\n location: string;\n\n /**\n * This need to connect to the printer.\n * wifi: IP Address\n * bluetooth: macAddress\n * bluetoothLowEnergy: modelName for bluetoothLowEnergy\n */\n channelInfo: string;\n};\n\nexport type BRLMPrintOptions = {\n encodedImage: string;\n\n /**\n * Should use enum BRLMPrinterModelName\n */\n modelName: BRLMPrinterModelName;\n} & Partial<BRLMChannelResult> &\n (BRLMPrinterQLModelSettings | BRLMPrinterTDModelSettings);\n\nexport type BRLMPrinterTDModelSettings = {\n /**\n * Should use enum BRKMPrinterCustomPaperType\n */\n paperType: BRKMPrinterCustomPaperType;\n\n /**\n * The width of the label. For example, the RD-U04J1 is 60.0 wide.\n */\n tapeWidth: number;\n\n /**\n * The length of the label. For example, the RD-U04J1 is 60.0 wide.\n */\n tapeLength: number;\n\n /**\n * It is the difference between a sticker and a mount.\n * For example, the RD-U04J1 is `1.0, 2.0, 1.0, 2.0`\n */\n marginTop: number;\n marginRight: number;\n marginBottom: number;\n marginLeft: number;\n\n /**\n * The spacing between seals. For example, the RD-U04J1 is 0.2.\n */\n gapLength: number;\n\n paperMarkPosition: number;\n paperMarkLength: number;\n\n /**\n * Should use enum BRKMPrinterCustomPaperUnit.\n * For example, the RD-U04J1 is mm.\n */\n paperUnit: BRKMPrinterCustomPaperUnit;\n};\n\nexport type BRLMPrinterQLModelSettings = {\n /**\n * Should use enum BRLMPrinterLabelName\n */\n labelName: BRLMPrinterLabelName;\n} & BRLMPrinterSettings;\n\n/**\n * These are optional. If these are not set, default values are assigned by the printer.\n */\nexport type BRLMPrinterSettings = {\n /**\n * The number of copies you print.\n */\n numberOfCopies?: BRLMPrinterNumberOfCopies;\n\n /**\n * Whether the auto-cut is enabled or not. If true, your printer cut the paper each page.\n */\n autoCut?: BRLMPrinterAutoCutType;\n\n /**\n * A scale mode that specifies how your data is scaled in a print area of your printer.\n */\n scaleMode?: BRLMPrinterScaleMode;\n\n /**\n * A scale value. This is effective when ScaleMode is ScaleValue.\n */\n scaleValue?: BRLMPrinterScaleValueType;\n\n /**\n * A way to rasterize your data.\n */\n halftone?: BRLMPrinterHalftone;\n\n /**\n * A threshold value. This is effective when the Halftone is Threshold.\n */\n halftoneThreshold?: BRLMPrinterHalftoneThresholdType;\n\n /**\n * An image rotation that specifies the angle in which your data is placed in the print area. Rotation direction is clockwise.\n */\n imageRotation?: BRLMPrinterImageRotation;\n\n /**\n * A vertical alignment that specifies how your data is placed in the printable area.\n */\n verticalAlignment?: BRLMPrinterVerticalAlignment;\n\n /**\n * A horizontal alignment that specifies how your data is placed in the printable area.\n */\n horizontalAlignment?: BRLMPrinterHorizontalAlignment;\n\n /**\n * A compress mode that specifies how to compress your data.\n * note: This is ios only.\n */\n compressMode?: BRLMPrinterCompressMode;\n\n /**\n * A priority that is print speed or print quality. Whether or not this has an effect is depend on your printer.\n */\n printQuality?: BRLMPrinterPrintQuality;\n};\n\nexport type BRLMSearchOption = {\n /**\n * 'usb' is android only, and now developing.\n */\n port: 'usb' | 'wifi' | 'bluetooth' | 'bluetoothLowEnergy';\n\n /**\n * searchDuration is the time to end search for devices.\n * default is 15 seconds.\n * use only port is 'wifi' or 'bluetoothLowEnergy'.\n */\n searchDuration: number;\n};\n\nexport type ErrorInfo = {\n message: string;\n code: number;\n};\n\nexport interface BrotherPrintPlugin {\n printImage(options: BRLMPrintOptions): Promise<void>;\n\n /**\n * Search for printers. If not found, it will return an empty array.(not error)\n */\n search(option: BRLMSearchOption): Promise<void>;\n\n /**\n * Basically, it times out, so there is no need to use it. Use it when you want to run multiple connectType searches at the same time and time out any of them manually.\n */\n cancelSearchWiFiPrinter(): Promise<void>;\n\n /**\n * Basically, it times out, so there is no need to use it. Use it when you want to run multiple connectType searches at the same time and time out any of them manually.\n */\n cancelSearchBluetoothPrinter(): Promise<void>;\n\n /**\n * Find the printer that can connected to the device.\n */\n addListener(\n eventName: BrotherPrintEventsEnum.onPrinterAvailable,\n listenerFunc: (printers: BRLMChannelResult) => void,\n ): Promise<PluginListenerHandle>;\n\n /**\n * Success Print Event\n */\n addListener(\n eventName: BrotherPrintEventsEnum.onPrint,\n listenerFunc: () => void,\n ): Promise<PluginListenerHandle>;\n\n /**\n * Failed to connect to the printer.\n * ex: Bluetooth is off, Printer is off, etc.\n */\n addListener(\n eventName: BrotherPrintEventsEnum.onPrintFailedCommunication,\n listenerFunc: (info: ErrorInfo) => void,\n ): Promise<PluginListenerHandle>;\n\n /**\n * Failed to print.\n */\n addListener(\n eventName: BrotherPrintEventsEnum.onPrintError,\n listenerFunc: (info: ErrorInfo) => void,\n ): Promise<PluginListenerHandle>;\n}\n"]}
@@ -38,46 +38,67 @@ exports.BrotherPrintEventsEnum = void 0;
38
38
  *
39
39
  * And name is follow android naming convention.
40
40
  */
41
+ exports.BRKMPrinterCustomPaperUnit = void 0;
42
+ (function (BRKMPrinterCustomPaperUnit) {
43
+ BRKMPrinterCustomPaperUnit["mm"] = "mm";
44
+ BRKMPrinterCustomPaperUnit["inch"] = "inch";
45
+ })(exports.BRKMPrinterCustomPaperUnit || (exports.BRKMPrinterCustomPaperUnit = {}));
46
+ exports.BRKMPrinterCustomPaperType = void 0;
47
+ (function (BRKMPrinterCustomPaperType) {
48
+ BRKMPrinterCustomPaperType["rollPaper"] = "rollPaper";
49
+ BRKMPrinterCustomPaperType["dieCutPaper"] = "dieCutPaper";
50
+ BRKMPrinterCustomPaperType["markRollPaper"] = "markRollPaper";
51
+ })(exports.BRKMPrinterCustomPaperType || (exports.BRKMPrinterCustomPaperType = {}));
41
52
  /**
42
53
  * Android naming: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printermodel.html
43
54
  */
44
55
  exports.BRLMPrinterModelName = void 0;
45
56
  (function (BRLMPrinterModelName) {
57
+ BRLMPrinterModelName["QL_800"] = "QL_800";
46
58
  BRLMPrinterModelName["QL_810W"] = "QL_810W";
47
59
  BRLMPrinterModelName["QL_820NWB"] = "QL_820NWB";
48
60
  BRLMPrinterModelName["TD_2320D_203"] = "TD_2320D_203";
49
61
  BRLMPrinterModelName["TD_2030AD"] = "TD_2030AD";
50
- BRLMPrinterModelName["TD_2350D_203"] = "TD_2350D_203";
62
+ BRLMPrinterModelName["TD_2350D_300"] = "TD_2350D_300";
51
63
  })(exports.BRLMPrinterModelName || (exports.BRLMPrinterModelName = {}));
52
64
  /**
53
65
  * Android naming: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android/labelinfo.html
54
66
  */
55
67
  exports.BRLMPrinterLabelName = void 0;
56
68
  (function (BRLMPrinterLabelName) {
57
- BRLMPrinterLabelName["W17H54"] = "W17H54";
58
- BRLMPrinterLabelName["W17H87"] = "W17H87";
59
- BRLMPrinterLabelName["W23H23"] = "W23H23";
60
- BRLMPrinterLabelName["W29H42"] = "W29H42";
61
- BRLMPrinterLabelName["W29H90"] = "W29H90";
62
- BRLMPrinterLabelName["W38H90"] = "W38H90";
63
- BRLMPrinterLabelName["W39H48"] = "W39H48";
64
- BRLMPrinterLabelName["W52H29"] = "W52H29";
65
- BRLMPrinterLabelName["W62H29"] = "W62H29";
66
- BRLMPrinterLabelName["W62H100"] = "W62H100";
67
- BRLMPrinterLabelName["W12"] = "W12";
68
- BRLMPrinterLabelName["W29"] = "W29";
69
- BRLMPrinterLabelName["W38"] = "W38";
70
- BRLMPrinterLabelName["W50"] = "W50";
71
- BRLMPrinterLabelName["W54"] = "W54";
72
- BRLMPrinterLabelName["W62"] = "W62";
73
- BRLMPrinterLabelName["W60H86"] = "W60H86";
74
- BRLMPrinterLabelName["W62RB"] = "W62RB";
75
- BRLMPrinterLabelName["W54H29"] = "W54H29";
76
- BRLMPrinterLabelName["W12DIA"] = "W12DIA";
77
- BRLMPrinterLabelName["W24DIA"] = "W24DIA";
78
- BRLMPrinterLabelName["W58DIA"] = "W58DIA";
79
- BRLMPrinterLabelName["W62H60"] = "W62H60";
80
- BRLMPrinterLabelName["W62H75"] = "W62H75";
69
+ BRLMPrinterLabelName["DieCutW17H54"] = "DieCutW17H54";
70
+ BRLMPrinterLabelName["DieCutW17H87"] = "DieCutW17H87";
71
+ BRLMPrinterLabelName["DieCutW23H23"] = "DieCutW23H23";
72
+ BRLMPrinterLabelName["DieCutW29H42"] = "DieCutW29H42";
73
+ BRLMPrinterLabelName["DieCutW29H90"] = "DieCutW29H90";
74
+ BRLMPrinterLabelName["DieCutW38H90"] = "DieCutW38H90";
75
+ BRLMPrinterLabelName["DieCutW39H48"] = "DieCutW39H48";
76
+ BRLMPrinterLabelName["DieCutW52H29"] = "DieCutW52H29";
77
+ BRLMPrinterLabelName["DieCutW62H29"] = "DieCutW62H29";
78
+ BRLMPrinterLabelName["DieCutW62H60"] = "DieCutW62H60";
79
+ BRLMPrinterLabelName["DieCutW62H75"] = "DieCutW62H75";
80
+ BRLMPrinterLabelName["DieCutW62H100"] = "DieCutW62H100";
81
+ BRLMPrinterLabelName["DieCutW60H86"] = "DieCutW60H86";
82
+ BRLMPrinterLabelName["DieCutW54H29"] = "DieCutW54H29";
83
+ BRLMPrinterLabelName["DieCutW102H51"] = "DieCutW102H51";
84
+ BRLMPrinterLabelName["DieCutW102H152"] = "DieCutW102H152";
85
+ BRLMPrinterLabelName["DieCutW103H164"] = "DieCutW103H164";
86
+ BRLMPrinterLabelName["RollW12"] = "RollW12";
87
+ BRLMPrinterLabelName["RollW29"] = "RollW29";
88
+ BRLMPrinterLabelName["RollW38"] = "RollW38";
89
+ BRLMPrinterLabelName["RollW50"] = "RollW50";
90
+ BRLMPrinterLabelName["RollW54"] = "RollW54";
91
+ BRLMPrinterLabelName["RollW62"] = "RollW62";
92
+ BRLMPrinterLabelName["RollW62RB"] = "RollW62RB";
93
+ BRLMPrinterLabelName["RollW102"] = "RollW102";
94
+ BRLMPrinterLabelName["RollW103"] = "RollW103";
95
+ BRLMPrinterLabelName["DTRollW90"] = "DTRollW90";
96
+ BRLMPrinterLabelName["DTRollW102"] = "DTRollW102";
97
+ BRLMPrinterLabelName["DTRollW102H51"] = "DTRollW102H51";
98
+ BRLMPrinterLabelName["DTRollW102H152"] = "DTRollW102H152";
99
+ BRLMPrinterLabelName["RoundW12DIA"] = "RoundW12DIA";
100
+ BRLMPrinterLabelName["RoundW24DIA"] = "RoundW24DIA";
101
+ BRLMPrinterLabelName["RoundW58DIA"] = "RoundW58DIA";
81
102
  })(exports.BRLMPrinterLabelName || (exports.BRLMPrinterLabelName = {}));
82
103
  /**
83
104
  * @url https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#imagerotation
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.cjs.js","sources":["esm/web.js","esm/events.enum.js","esm/brother-printer.enum.js","esm/index.js"],"sourcesContent":["import { WebPlugin } from '@capacitor/core';\nexport class BrotherPrintWeb extends WebPlugin {\n async printImage(options) {\n console.log('printImage', options);\n }\n async search(options) {\n console.log('search', options);\n }\n async cancelSearchWiFiPrinter() {\n console.log('cancelSearchWiFiPrinter');\n }\n async cancelSearchBluetoothPrinter() {\n console.log('cancelSearchBluetoothPrinter');\n }\n}\n//# sourceMappingURL=web.js.map","export var BrotherPrintEventsEnum;\n(function (BrotherPrintEventsEnum) {\n BrotherPrintEventsEnum[\"onPrinterAvailable\"] = \"onPrinterAvailable\";\n BrotherPrintEventsEnum[\"onPrint\"] = \"onPrint\";\n BrotherPrintEventsEnum[\"onPrintFailedCommunication\"] = \"onPrintFailedCommunication\";\n BrotherPrintEventsEnum[\"onPrintError\"] = \"onPrintError\";\n})(BrotherPrintEventsEnum || (BrotherPrintEventsEnum = {}));\n//# sourceMappingURL=events.enum.js.map","/**\n * Note: If you update this file, you should update the following files:\n * - ios/Plugin/Model/PrinterModel.swift\n *\n * And name is follow android naming convention.\n */\n/**\n * Android naming: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printermodel.html\n */\nexport var BRLMPrinterModelName;\n(function (BRLMPrinterModelName) {\n BRLMPrinterModelName[\"QL_810W\"] = \"QL_810W\";\n BRLMPrinterModelName[\"QL_820NWB\"] = \"QL_820NWB\";\n BRLMPrinterModelName[\"TD_2320D_203\"] = \"TD_2320D_203\";\n BRLMPrinterModelName[\"TD_2030AD\"] = \"TD_2030AD\";\n BRLMPrinterModelName[\"TD_2350D_203\"] = \"TD_2350D_203\";\n})(BRLMPrinterModelName || (BRLMPrinterModelName = {}));\n/**\n * Android naming: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android/labelinfo.html\n */\nexport var BRLMPrinterLabelName;\n(function (BRLMPrinterLabelName) {\n BRLMPrinterLabelName[\"W17H54\"] = \"W17H54\";\n BRLMPrinterLabelName[\"W17H87\"] = \"W17H87\";\n BRLMPrinterLabelName[\"W23H23\"] = \"W23H23\";\n BRLMPrinterLabelName[\"W29H42\"] = \"W29H42\";\n BRLMPrinterLabelName[\"W29H90\"] = \"W29H90\";\n BRLMPrinterLabelName[\"W38H90\"] = \"W38H90\";\n BRLMPrinterLabelName[\"W39H48\"] = \"W39H48\";\n BRLMPrinterLabelName[\"W52H29\"] = \"W52H29\";\n BRLMPrinterLabelName[\"W62H29\"] = \"W62H29\";\n BRLMPrinterLabelName[\"W62H100\"] = \"W62H100\";\n BRLMPrinterLabelName[\"W12\"] = \"W12\";\n BRLMPrinterLabelName[\"W29\"] = \"W29\";\n BRLMPrinterLabelName[\"W38\"] = \"W38\";\n BRLMPrinterLabelName[\"W50\"] = \"W50\";\n BRLMPrinterLabelName[\"W54\"] = \"W54\";\n BRLMPrinterLabelName[\"W62\"] = \"W62\";\n BRLMPrinterLabelName[\"W60H86\"] = \"W60H86\";\n BRLMPrinterLabelName[\"W62RB\"] = \"W62RB\";\n BRLMPrinterLabelName[\"W54H29\"] = \"W54H29\";\n BRLMPrinterLabelName[\"W12DIA\"] = \"W12DIA\";\n BRLMPrinterLabelName[\"W24DIA\"] = \"W24DIA\";\n BRLMPrinterLabelName[\"W58DIA\"] = \"W58DIA\";\n BRLMPrinterLabelName[\"W62H60\"] = \"W62H60\";\n BRLMPrinterLabelName[\"W62H75\"] = \"W62H75\";\n})(BRLMPrinterLabelName || (BRLMPrinterLabelName = {}));\n/**\n * @url https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#imagerotation\n */\nexport var BRLMPrinterImageRotation;\n(function (BRLMPrinterImageRotation) {\n BRLMPrinterImageRotation[\"Rotate0\"] = \"Rotate0\";\n BRLMPrinterImageRotation[\"Rotate90\"] = \"Rotate90\";\n BRLMPrinterImageRotation[\"Rotate180\"] = \"Rotate180\";\n BRLMPrinterImageRotation[\"Rotate270\"] = \"Rotate270\";\n})(BRLMPrinterImageRotation || (BRLMPrinterImageRotation = {}));\n/**\n * url https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#scalemode\n */\nexport var BRLMPrinterScaleMode;\n(function (BRLMPrinterScaleMode) {\n BRLMPrinterScaleMode[\"ActualSize\"] = \"ActualSize\";\n BRLMPrinterScaleMode[\"FitPageAspect\"] = \"FitPageAspect\";\n BRLMPrinterScaleMode[\"FitPaperAspect\"] = \"FitPaperAspect\";\n BRLMPrinterScaleMode[\"ScaleValue\"] = \"ScaleValue\";\n})(BRLMPrinterScaleMode || (BRLMPrinterScaleMode = {}));\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#halftone\n */\nexport var BRLMPrinterHalftone;\n(function (BRLMPrinterHalftone) {\n BRLMPrinterHalftone[\"Threshold\"] = \"Threshold\";\n BRLMPrinterHalftone[\"ErrorDiffusion\"] = \"ErrorDiffusion\";\n BRLMPrinterHalftone[\"PatternDither\"] = \"PatternDither\";\n})(BRLMPrinterHalftone || (BRLMPrinterHalftone = {}));\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#verticalalignment\n */\nexport var BRLMPrinterVerticalAlignment;\n(function (BRLMPrinterVerticalAlignment) {\n BRLMPrinterVerticalAlignment[\"Top\"] = \"Top\";\n BRLMPrinterVerticalAlignment[\"Center\"] = \"Center\";\n BRLMPrinterVerticalAlignment[\"Bottom\"] = \"Bottom\";\n})(BRLMPrinterVerticalAlignment || (BRLMPrinterVerticalAlignment = {}));\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#horizontalalignment\n */\nexport var BRLMPrinterHorizontalAlignment;\n(function (BRLMPrinterHorizontalAlignment) {\n BRLMPrinterHorizontalAlignment[\"Left\"] = \"Left\";\n BRLMPrinterHorizontalAlignment[\"Center\"] = \"Center\";\n BRLMPrinterHorizontalAlignment[\"Right\"] = \"Right\";\n})(BRLMPrinterHorizontalAlignment || (BRLMPrinterHorizontalAlignment = {}));\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#compressmode\n */\nexport var BRLMPrinterCompressMode;\n(function (BRLMPrinterCompressMode) {\n BRLMPrinterCompressMode[\"None\"] = \"None\";\n BRLMPrinterCompressMode[\"Tiff\"] = \"Tiff\";\n BRLMPrinterCompressMode[\"Mode9\"] = \"Mode9\";\n})(BRLMPrinterCompressMode || (BRLMPrinterCompressMode = {}));\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#printquality\n */\nexport var BRLMPrinterPrintQuality;\n(function (BRLMPrinterPrintQuality) {\n BRLMPrinterPrintQuality[\"Best\"] = \"Best\";\n BRLMPrinterPrintQuality[\"Fast\"] = \"Fast\";\n})(BRLMPrinterPrintQuality || (BRLMPrinterPrintQuality = {}));\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#resolution\n */\n// export enum BRLMPrinterPrintResolution {\n// Low = 'Low',\n// Normal = 'Normal',\n// High = 'High',\n// }\n//# sourceMappingURL=brother-printer.enum.js.map","import { registerPlugin } from '@capacitor/core';\nconst BrotherPrint = registerPlugin('BrotherPrint', {\n web: () => import('./web').then(m => new m.BrotherPrintWeb()),\n});\nexport * from './definitions';\nexport * from './web';\nexport * from './events.enum';\nexport * from './brother-printer.enum';\nexport { BrotherPrint };\n//# sourceMappingURL=index.js.map"],"names":["WebPlugin","BrotherPrintEventsEnum","BRLMPrinterModelName","BRLMPrinterLabelName","BRLMPrinterImageRotation","BRLMPrinterScaleMode","BRLMPrinterHalftone","BRLMPrinterVerticalAlignment","BRLMPrinterHorizontalAlignment","BRLMPrinterCompressMode","BRLMPrinterPrintQuality","registerPlugin"],"mappings":";;;;;;AACO,MAAM,eAAe,SAASA,cAAS,CAAC;A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,uBAAuB,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;AAC7C,CAAC,EAAEA,+BAAuB,KAAKA,+BAAuB,GAAG,EAAE,CAAC,CAAC,CAAC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrHK,MAAC,YAAY,GAAGC,mBAAc,CAAC,cAAc,EAAE;AACpD,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;AACjE,CAAC;;;;;"}
1
+ {"version":3,"file":"plugin.cjs.js","sources":["esm/web.js","esm/events.enum.js","esm/brother-printer.enum.js","esm/index.js"],"sourcesContent":["import { WebPlugin } from '@capacitor/core';\nexport class BrotherPrintWeb extends WebPlugin {\n async printImage(options) {\n console.log('printImage', options);\n }\n async search(options) {\n console.log('search', options);\n }\n async cancelSearchWiFiPrinter() {\n console.log('cancelSearchWiFiPrinter');\n }\n async cancelSearchBluetoothPrinter() {\n console.log('cancelSearchBluetoothPrinter');\n }\n}\n//# sourceMappingURL=web.js.map","export var BrotherPrintEventsEnum;\n(function (BrotherPrintEventsEnum) {\n BrotherPrintEventsEnum[\"onPrinterAvailable\"] = \"onPrinterAvailable\";\n BrotherPrintEventsEnum[\"onPrint\"] = \"onPrint\";\n BrotherPrintEventsEnum[\"onPrintFailedCommunication\"] = \"onPrintFailedCommunication\";\n BrotherPrintEventsEnum[\"onPrintError\"] = \"onPrintError\";\n})(BrotherPrintEventsEnum || (BrotherPrintEventsEnum = {}));\n//# sourceMappingURL=events.enum.js.map","/**\n * Note: If you update this file, you should update the following files:\n * - ios/Plugin/Model/PrinterModel.swift\n *\n * And name is follow android naming convention.\n */\nexport var BRKMPrinterCustomPaperUnit;\n(function (BRKMPrinterCustomPaperUnit) {\n BRKMPrinterCustomPaperUnit[\"mm\"] = \"mm\";\n BRKMPrinterCustomPaperUnit[\"inch\"] = \"inch\";\n})(BRKMPrinterCustomPaperUnit || (BRKMPrinterCustomPaperUnit = {}));\nexport var BRKMPrinterCustomPaperType;\n(function (BRKMPrinterCustomPaperType) {\n BRKMPrinterCustomPaperType[\"rollPaper\"] = \"rollPaper\";\n BRKMPrinterCustomPaperType[\"dieCutPaper\"] = \"dieCutPaper\";\n BRKMPrinterCustomPaperType[\"markRollPaper\"] = \"markRollPaper\";\n})(BRKMPrinterCustomPaperType || (BRKMPrinterCustomPaperType = {}));\n/**\n * Android naming: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printermodel.html\n */\nexport var BRLMPrinterModelName;\n(function (BRLMPrinterModelName) {\n BRLMPrinterModelName[\"QL_800\"] = \"QL_800\";\n BRLMPrinterModelName[\"QL_810W\"] = \"QL_810W\";\n BRLMPrinterModelName[\"QL_820NWB\"] = \"QL_820NWB\";\n BRLMPrinterModelName[\"TD_2320D_203\"] = \"TD_2320D_203\";\n BRLMPrinterModelName[\"TD_2030AD\"] = \"TD_2030AD\";\n BRLMPrinterModelName[\"TD_2350D_300\"] = \"TD_2350D_300\";\n})(BRLMPrinterModelName || (BRLMPrinterModelName = {}));\n/**\n * Android naming: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android/labelinfo.html\n */\nexport var BRLMPrinterLabelName;\n(function (BRLMPrinterLabelName) {\n BRLMPrinterLabelName[\"DieCutW17H54\"] = \"DieCutW17H54\";\n BRLMPrinterLabelName[\"DieCutW17H87\"] = \"DieCutW17H87\";\n BRLMPrinterLabelName[\"DieCutW23H23\"] = \"DieCutW23H23\";\n BRLMPrinterLabelName[\"DieCutW29H42\"] = \"DieCutW29H42\";\n BRLMPrinterLabelName[\"DieCutW29H90\"] = \"DieCutW29H90\";\n BRLMPrinterLabelName[\"DieCutW38H90\"] = \"DieCutW38H90\";\n BRLMPrinterLabelName[\"DieCutW39H48\"] = \"DieCutW39H48\";\n BRLMPrinterLabelName[\"DieCutW52H29\"] = \"DieCutW52H29\";\n BRLMPrinterLabelName[\"DieCutW62H29\"] = \"DieCutW62H29\";\n BRLMPrinterLabelName[\"DieCutW62H60\"] = \"DieCutW62H60\";\n BRLMPrinterLabelName[\"DieCutW62H75\"] = \"DieCutW62H75\";\n BRLMPrinterLabelName[\"DieCutW62H100\"] = \"DieCutW62H100\";\n BRLMPrinterLabelName[\"DieCutW60H86\"] = \"DieCutW60H86\";\n BRLMPrinterLabelName[\"DieCutW54H29\"] = \"DieCutW54H29\";\n BRLMPrinterLabelName[\"DieCutW102H51\"] = \"DieCutW102H51\";\n BRLMPrinterLabelName[\"DieCutW102H152\"] = \"DieCutW102H152\";\n BRLMPrinterLabelName[\"DieCutW103H164\"] = \"DieCutW103H164\";\n BRLMPrinterLabelName[\"RollW12\"] = \"RollW12\";\n BRLMPrinterLabelName[\"RollW29\"] = \"RollW29\";\n BRLMPrinterLabelName[\"RollW38\"] = \"RollW38\";\n BRLMPrinterLabelName[\"RollW50\"] = \"RollW50\";\n BRLMPrinterLabelName[\"RollW54\"] = \"RollW54\";\n BRLMPrinterLabelName[\"RollW62\"] = \"RollW62\";\n BRLMPrinterLabelName[\"RollW62RB\"] = \"RollW62RB\";\n BRLMPrinterLabelName[\"RollW102\"] = \"RollW102\";\n BRLMPrinterLabelName[\"RollW103\"] = \"RollW103\";\n BRLMPrinterLabelName[\"DTRollW90\"] = \"DTRollW90\";\n BRLMPrinterLabelName[\"DTRollW102\"] = \"DTRollW102\";\n BRLMPrinterLabelName[\"DTRollW102H51\"] = \"DTRollW102H51\";\n BRLMPrinterLabelName[\"DTRollW102H152\"] = \"DTRollW102H152\";\n BRLMPrinterLabelName[\"RoundW12DIA\"] = \"RoundW12DIA\";\n BRLMPrinterLabelName[\"RoundW24DIA\"] = \"RoundW24DIA\";\n BRLMPrinterLabelName[\"RoundW58DIA\"] = \"RoundW58DIA\";\n})(BRLMPrinterLabelName || (BRLMPrinterLabelName = {}));\n/**\n * @url https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#imagerotation\n */\nexport var BRLMPrinterImageRotation;\n(function (BRLMPrinterImageRotation) {\n BRLMPrinterImageRotation[\"Rotate0\"] = \"Rotate0\";\n BRLMPrinterImageRotation[\"Rotate90\"] = \"Rotate90\";\n BRLMPrinterImageRotation[\"Rotate180\"] = \"Rotate180\";\n BRLMPrinterImageRotation[\"Rotate270\"] = \"Rotate270\";\n})(BRLMPrinterImageRotation || (BRLMPrinterImageRotation = {}));\n/**\n * url https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#scalemode\n */\nexport var BRLMPrinterScaleMode;\n(function (BRLMPrinterScaleMode) {\n BRLMPrinterScaleMode[\"ActualSize\"] = \"ActualSize\";\n BRLMPrinterScaleMode[\"FitPageAspect\"] = \"FitPageAspect\";\n BRLMPrinterScaleMode[\"FitPaperAspect\"] = \"FitPaperAspect\";\n BRLMPrinterScaleMode[\"ScaleValue\"] = \"ScaleValue\";\n})(BRLMPrinterScaleMode || (BRLMPrinterScaleMode = {}));\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#halftone\n */\nexport var BRLMPrinterHalftone;\n(function (BRLMPrinterHalftone) {\n BRLMPrinterHalftone[\"Threshold\"] = \"Threshold\";\n BRLMPrinterHalftone[\"ErrorDiffusion\"] = \"ErrorDiffusion\";\n BRLMPrinterHalftone[\"PatternDither\"] = \"PatternDither\";\n})(BRLMPrinterHalftone || (BRLMPrinterHalftone = {}));\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#verticalalignment\n */\nexport var BRLMPrinterVerticalAlignment;\n(function (BRLMPrinterVerticalAlignment) {\n BRLMPrinterVerticalAlignment[\"Top\"] = \"Top\";\n BRLMPrinterVerticalAlignment[\"Center\"] = \"Center\";\n BRLMPrinterVerticalAlignment[\"Bottom\"] = \"Bottom\";\n})(BRLMPrinterVerticalAlignment || (BRLMPrinterVerticalAlignment = {}));\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#horizontalalignment\n */\nexport var BRLMPrinterHorizontalAlignment;\n(function (BRLMPrinterHorizontalAlignment) {\n BRLMPrinterHorizontalAlignment[\"Left\"] = \"Left\";\n BRLMPrinterHorizontalAlignment[\"Center\"] = \"Center\";\n BRLMPrinterHorizontalAlignment[\"Right\"] = \"Right\";\n})(BRLMPrinterHorizontalAlignment || (BRLMPrinterHorizontalAlignment = {}));\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#compressmode\n */\nexport var BRLMPrinterCompressMode;\n(function (BRLMPrinterCompressMode) {\n BRLMPrinterCompressMode[\"None\"] = \"None\";\n BRLMPrinterCompressMode[\"Tiff\"] = \"Tiff\";\n BRLMPrinterCompressMode[\"Mode9\"] = \"Mode9\";\n})(BRLMPrinterCompressMode || (BRLMPrinterCompressMode = {}));\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#printquality\n */\nexport var BRLMPrinterPrintQuality;\n(function (BRLMPrinterPrintQuality) {\n BRLMPrinterPrintQuality[\"Best\"] = \"Best\";\n BRLMPrinterPrintQuality[\"Fast\"] = \"Fast\";\n})(BRLMPrinterPrintQuality || (BRLMPrinterPrintQuality = {}));\n/**\n * url: https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android_v4/printimagesettings.html#resolution\n */\n// export enum BRLMPrinterPrintResolution {\n// Low = 'Low',\n// Normal = 'Normal',\n// High = 'High',\n// }\n//# sourceMappingURL=brother-printer.enum.js.map","import { registerPlugin } from '@capacitor/core';\nconst BrotherPrint = registerPlugin('BrotherPrint', {\n web: () => import('./web').then(m => new m.BrotherPrintWeb()),\n});\nexport * from './definitions';\nexport * from './web';\nexport * from './events.enum';\nexport * from './brother-printer.enum';\nexport { BrotherPrint };\n//# sourceMappingURL=index.js.map"],"names":["WebPlugin","BrotherPrintEventsEnum","BRKMPrinterCustomPaperUnit","BRKMPrinterCustomPaperType","BRLMPrinterModelName","BRLMPrinterLabelName","BRLMPrinterImageRotation","BRLMPrinterScaleMode","BRLMPrinterHalftone","BRLMPrinterVerticalAlignment","BRLMPrinterHorizontalAlignment","BRLMPrinterCompressMode","BRLMPrinterPrintQuality","registerPlugin"],"mappings":";;;;;;AACO,MAAM,eAAe,SAASA,cAAS,CAAC;AAC/C,IAAI,MAAM,UAAU,CAAC,OAAO,EAAE;AAC9B,QAAQ,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;AAC3C,KAAK;AACL,IAAI,MAAM,MAAM,CAAC,OAAO,EAAE;AAC1B,QAAQ,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AACvC,KAAK;AACL,IAAI,MAAM,uBAAuB,GAAG;AACpC,QAAQ,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;AAC/C,KAAK;AACL,IAAI,MAAM,4BAA4B,GAAG;AACzC,QAAQ,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC,CAAC;AACpD,KAAK;AACL;;;;;;;ACdWC,wCAAuB;AAClC,CAAC,UAAU,sBAAsB,EAAE;AACnC,IAAI,sBAAsB,CAAC,oBAAoB,CAAC,GAAG,oBAAoB,CAAC;AACxE,IAAI,sBAAsB,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;AAClD,IAAI,sBAAsB,CAAC,4BAA4B,CAAC,GAAG,4BAA4B,CAAC;AACxF,IAAI,sBAAsB,CAAC,cAAc,CAAC,GAAG,cAAc,CAAC;AAC5D,CAAC,EAAEA,8BAAsB,KAAKA,8BAAsB,GAAG,EAAE,CAAC,CAAC;;ACN3D;AACA;AACA;AACA;AACA;AACA;AACWC,4CAA2B;AACtC,CAAC,UAAU,0BAA0B,EAAE;AACvC,IAAI,0BAA0B,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAC5C,IAAI,0BAA0B,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;AAChD,CAAC,EAAEA,kCAA0B,KAA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