41 lines
1.0 KiB
TOML
41 lines
1.0 KiB
TOML
# Configuration file the LittlePrynter
|
|
|
|
[defaults]
|
|
signature = ""
|
|
|
|
|
|
# Printer settings
|
|
[printer]
|
|
upload_folder = "src/static/uploads"
|
|
# How long do we wait before giving up on waiting for a printer connexion
|
|
waiting_time = 5
|
|
|
|
[printer.epson]
|
|
# Configurations for EPSON printers
|
|
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]
|
|
button_gpio_port_number = 2
|
|
indicator_gpio_port_number = 22
|
|
flash_gpio_port_number = 16
|
|
flash = true
|
|
|
|
# Users = Password
|
|
[users]
|
|
admin = "admin"
|
|
|
|
# Secrets for flask
|
|
[secrets]
|
|
flask_secret_key = "ChÕÓhÑLa)Ù<î=F;ÑÊÝ5fV÷}º35+FâXg£Ì;Ñ58ëȤ^ìãtzº<$úÌ¢ü>A¡ÿ:--_Uc²æmÇ)ëÛòöéZ¥÷Z¯¦`,ç¶B°>Å:Zÿ¼Á@ªu-º´¬XäwYÃ`c>YÜYÏJ${_f{MJ[ÙkNzg_WZv"
|