Files
littleprynter/configuration/config.toml.sample

38 lines
893 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"
[printer.brother]
# Configurations for Brother printers
label_type = 62 # See https://github.com/pklaus/brother_ql#usage for label types
# 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"