From 5d2d852da1415f254f4eca300b0fd53d6a432099 Mon Sep 17 00:00:00 2001 From: cdud99 <91852023+cdud99@users.noreply.github.com> Date: Tue, 12 Mar 2024 22:17:30 -0700 Subject: [PATCH 1/7] Chain Print Added --- ios/Classes/Method/BrotherUtils.m | 4 ++++ lib/label_info.dart | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/ios/Classes/Method/BrotherUtils.m b/ios/Classes/Method/BrotherUtils.m index 3209433..029bdb9 100644 --- a/ios/Classes/Method/BrotherUtils.m +++ b/ios/Classes/Method/BrotherUtils.m @@ -691,6 +691,7 @@ + (BRLMQLPrintSettings *) qlPrintSettingsFromMapWithValue:(NSDictionary * dartResolution = (NSDictionary *)[map objectForKey:@"printQuality"]; @@ -1291,6 +1293,7 @@ + (BRLMPTPrintSettings *)ptPrintSettingsFromMapWithValue:(NSDictionary Date: Tue, 12 Mar 2024 22:20:45 -0700 Subject: [PATCH 2/7] Update printer_info.dart --- lib/printer_info.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/printer_info.dart b/lib/printer_info.dart index f3e6f5b..5bfa49f 100644 --- a/lib/printer_info.dart +++ b/lib/printer_info.dart @@ -1473,6 +1473,7 @@ class PrinterInfo { bool isCutAtEnd; bool isSpecialTape; bool isHalfCut; + bool chainPrint; bool mode9; PrintQuality printQuality; bool mirrorPrint; @@ -1516,6 +1517,7 @@ class PrinterInfo { this.paperPosition = Align.CENTER, this.isAutoCut = true, this.isCutAtEnd = true, + this.chainPrint = false, this.mode9 = true, this.skipStatusCheck = false, this.checkPrintEnd = CheckPrintEnd.CPE_CHECK, @@ -1602,6 +1604,7 @@ class PrinterInfo { paperPosition: Align.fromMap(map["paperPosition"]), isAutoCut: map["isAutoCut"], isCutAtEnd: map["isCutAtEnd"], + chainPrint: map["chainPrint"], mode9: map["mode9"], skipStatusCheck: map["skipStatusCheck"], checkPrintEnd: CheckPrintEnd.fromMap(map["checkPrintEnd"]), @@ -1665,6 +1668,7 @@ class PrinterInfo { "paperPosition": paperPosition.toMap(), "isAutoCut": isAutoCut, "isCutAtEnd": isCutAtEnd, + "chainPrint": chainPrint, "mode9": mode9, "skipStatusCheck": skipStatusCheck, "checkPrintEnd": checkPrintEnd.toMap(), @@ -2089,6 +2093,7 @@ class LabelParam { bool isHalfCut = false; bool isSpecialTape = false; bool isCutMark = false; + bool chainPrint = false; int tubeHeadPinNum = 0; String paperName; String paperNameInch; @@ -2177,6 +2182,7 @@ class LabelParam { "isHalfCut $isHalfCut, " "isSpecialTape $isSpecialTape," "isCutMark $isCutMark," + "chainPrint $chainPrint," "tubeHeadPinNum $tubeHeadPinNum, " "paperName $paperName, " "paperNameInch $paperNameInch, " From 75316329e748d62250248e9487fdcd60a9cf0374 Mon Sep 17 00:00:00 2001 From: cdud99 <91852023+cdud99@users.noreply.github.com> Date: Tue, 12 Mar 2024 22:25:01 -0700 Subject: [PATCH 3/7] Update BrotherUtils.m --- ios/Classes/Method/BrotherUtils.m | 1 - 1 file changed, 1 deletion(-) diff --git a/ios/Classes/Method/BrotherUtils.m b/ios/Classes/Method/BrotherUtils.m index 029bdb9..e8530da 100644 --- a/ios/Classes/Method/BrotherUtils.m +++ b/ios/Classes/Method/BrotherUtils.m @@ -691,7 +691,6 @@ + (BRLMQLPrintSettings *) qlPrintSettingsFromMapWithValue:(NSDictionary Date: Tue, 12 Mar 2024 22:33:11 -0700 Subject: [PATCH 4/7] Update label_info.dart --- lib/label_info.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/label_info.dart b/lib/label_info.dart index a7f0010..fb9e962 100644 --- a/lib/label_info.dart +++ b/lib/label_info.dart @@ -19,7 +19,7 @@ class LabelInfo { this.isHalfCut = false, this.isSpecialTape = false, this.isCutMark = false, - this.chainPrint = false; + this.chainPrint = false, this.labelColor = LabelColor.UNSUPPORT, this.labelFontColor = LabelColor.UNSUPPORT, this.labelType = -1}); From b008079bfc2f6b1c332ea35271d0912caa869cb9 Mon Sep 17 00:00:00 2001 From: cdud99 <91852023+cdud99@users.noreply.github.com> Date: Sun, 26 May 2024 18:30:04 -0700 Subject: [PATCH 5/7] Fixed Print Quality Issue --- ios/Classes/Method/BrotherUtils.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Classes/Method/BrotherUtils.m b/ios/Classes/Method/BrotherUtils.m index e8530da..64dd776 100644 --- a/ios/Classes/Method/BrotherUtils.m +++ b/ios/Classes/Method/BrotherUtils.m @@ -1294,7 +1294,7 @@ + (BRLMPTPrintSettings *)ptPrintSettingsFromMapWithValue:(NSDictionary Date: Sun, 26 May 2024 18:30:59 -0700 Subject: [PATCH 6/7] Update pubspec.yaml --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index eb1b3ba..e0cc006 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: another_brother description: A flutter plugin for printing with the Brother label and TypeB printers. -version: 2.1.3 +version: 2.1.4 repository: https://github.com/CodeMinion/another_brother environment: From f321f068e403954c881d6e62f79ddf8e3708227a Mon Sep 17 00:00:00 2001 From: cdud99 <91852023+cdud99@users.noreply.github.com> Date: Sun, 26 May 2024 18:37:18 -0700 Subject: [PATCH 7/7] Fix --- ios/Classes/Method/BrotherUtils.m | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/Classes/Method/BrotherUtils.m b/ios/Classes/Method/BrotherUtils.m index 64dd776..4dd3c75 100644 --- a/ios/Classes/Method/BrotherUtils.m +++ b/ios/Classes/Method/BrotherUtils.m @@ -1294,7 +1294,7 @@ + (BRLMPTPrintSettings *)ptPrintSettingsFromMapWithValue:(NSDictionary