42 lines
993 B
Plaintext
42 lines
993 B
Plaintext
# Configuration file the LittlePrynter
|
|
|
|
[defaults]
|
|
signature = "Anonymous"
|
|
|
|
# Printer settings
|
|
[printer]
|
|
# Where do we upload the pictures and such
|
|
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 = 17
|
|
indicator_gpio_port_number = 18
|
|
flash = true
|
|
|
|
# Users = Password
|
|
[users]
|
|
admin = "admin"
|
|
|
|
# Secrets for flask
|
|
# See "How to generate good secret keys" in https://flask.palletsprojects.com/en/1.1.x/quickstart/
|
|
[secrets]
|
|
flask_secret_key = "random string to do things"
|