Make max text length configurable

This commit is contained in:
n07070
2026-11-13 19:46:16 +01:00
parent 836d6b0be9
commit 086a7ae640
5 changed files with 11 additions and 8 deletions

View File

@@ -3,6 +3,7 @@
[defaults]
signature = ""
# Printer settings
[printer]
upload_folder = "src/static/uploads"
@@ -14,11 +15,14 @@ waiting_time = 5
profile = "TM-T20III"
label_type = 80 # 80 or 58 ( label width in mm )
align_text = "center"
text_max_length = 4096
signature_max_length = 256
[printer.brother]
# Configurations for Brother printers
label_type = "62" # See https://github.com/pklaus/brother_ql#usage for label types
text_max_length = 4096
signature_max_length = 256
# Raspberry Pi Configuration
[rpi]