Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d037e06
Added support for TD-2350D
PrimaelQuemerais Feb 3, 2025
2f42cec
Added TD-2350D custom paper folder to pubspecs.yaml
PrimaelQuemerais Feb 3, 2025
5d1e548
Updated TD-2350D bin files
PrimaelQuemerais Feb 3, 2025
b07c2b0
Updated Brother SDK dependency to version 4.12.0
PrimaelQuemerais Feb 11, 2025
90cce81
Removed deprecated Registrar import from AnotherBrotherPlugin.kt
PrimaelQuemerais Feb 14, 2025
6572c0d
Updated TD-2350D model identifier to include dpi
PrimaelQuemerais Mar 15, 2025
21f814e
Updated TD-2350D model identifier to remove unnecessary suffix
PrimaelQuemerais Mar 15, 2025
fdad638
Updated TD-2350D model identifier to include dpi
PrimaelQuemerais Mar 15, 2025
821dd00
Updated TD-2350D model identifier to correct version number
PrimaelQuemerais Mar 15, 2025
8219f68
Updated TD-2350D model identifier to remove dpi suffix
PrimaelQuemerais Mar 15, 2025
d85b2ad
Updated TD-2350D model identifier to include dpi
PrimaelQuemerais Mar 15, 2025
71b09fc
Updated TD-2350D model identifier to include dpi
PrimaelQuemerais Mar 15, 2025
cd99001
Updated TD-2350D model identifier to TD-2350D203 and added new bin fi…
PrimaelQuemerais Mar 15, 2025
a5dbfab
Updated CustomTD2350DPaper reference to CustomTD2350D203Paper
PrimaelQuemerais Mar 15, 2025
ee5a69d
Refactored TD-2350D class and updated references to remove the '203' …
PrimaelQuemerais Mar 15, 2025
8e411e1
Added logging for model ID retrieval and updated setPrinterInfo metho…
PrimaelQuemerais Mar 15, 2025
45917c9
Added TD-2350D_203 model identifier to printer_info.dart
PrimaelQuemerais Mar 17, 2025
9828da3
Added logging for model retrieval in BrotherUtils.kt to enhance debug…
PrimaelQuemerais Mar 17, 2025
5238352
Enhanced model retrieval logging in BrotherUtils.kt for improved debu…
PrimaelQuemerais Mar 17, 2025
40eb544
Added detailed logging for model ID iteration in modelFromMap functio…
PrimaelQuemerais Mar 17, 2025
d2ae205
Removed redundant logging for model retrieval in BrotherUtils.kt to s…
PrimaelQuemerais Mar 17, 2025
c431917
Updated model identifier for TD-2350D in printer_info.dart and adjust…
PrimaelQuemerais Mar 17, 2025
a9eb516
Updated model identifier for TD-2350D_203 in printer_info.dart
PrimaelQuemerais Mar 17, 2025
9b693bd
Updated model identifier for TD-2350D and added new model TD-2350D_30…
PrimaelQuemerais Mar 17, 2025
f25e377
Added model ID extraction in modelFromMap function in BrotherUtils.kt
PrimaelQuemerais Mar 17, 2025
7929b13
Updated printer identifiers for TD-2350D series in printer_info.dart;…
PrimaelQuemerais Mar 28, 2025
7d11d0f
Updated dependencies
PrimaelQuemerais Dec 8, 2025
41e52cb
Merge remote-tracking branch 'upstream/main'
PrimaelQuemerais Dec 8, 2025
dc3189c
Refactor code style for consistency and readability in type_b_printer…
PrimaelQuemerais Dec 8, 2025
13f22a1
Remove obsolete binary files and add new custom paper specifications …
PrimaelQuemerais Dec 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ android {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1'
implementation 'com.brother.sdk:printer:4.6.1@aar'
implementation 'com.brother.sdk:printer:4.12.0@aar'
implementation 'com.brother.typeb:print:1.0.0'
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel
import io.flutter.plugin.common.MethodChannel.MethodCallHandler
import io.flutter.plugin.common.MethodChannel.Result
//import io.flutter.plugin.common.PluginRegistry.Registrar
import kotlin.contracts.contract

/** AnotherBrotherPlugin */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ fun paperKindFromMap(map:Map<String, Any>):PaperKind {
return PaperKind.valueOf(name)
}
fun modelFromMap(map: Map<String, Any>): PrinterInfo.Model {
val id: Int = map["id"] as Int;
return PrinterInfo.Model.valueFromID(id);
val id: Int = map["id"] as Int
return PrinterInfo.Model.valueFromID(id)
}

fun TimeoutSettingFromMap(map: Map<String, Any>): TimeoutSetting {
Expand Down
Binary file not shown.
Binary file added custom_paper/CustomTD2350DPaper/TD2350D-57mm.bin
Binary file not shown.
Binary file added custom_paper/CustomTD2350DPaper/TD2350D-58mm.bin
Binary file not shown.
733 changes: 422 additions & 311 deletions lib/custom_paper.dart

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/label_info.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class LabelInfo {

LabelInfo(
{
// TODO Consider using labal ID instead
// TODO Consider using label ID instead
this.labelNameIndex = -1,
this.isAutoCut = true,
this.isEndCut = true,
Expand Down
Loading