Update configuration file to add printer specifics
This commit is contained in:
@@ -1,11 +1,24 @@
|
|||||||
# Configuration file the LittlePrynter
|
# Configuration file the LittlePrynter
|
||||||
|
|
||||||
[defaults]
|
[defaults]
|
||||||
signature = "Anonymous"
|
signature = ""
|
||||||
|
|
||||||
# Printer settings
|
# Printer settings
|
||||||
[printer]
|
[printer]
|
||||||
upload_folder = "src/static/uploads"
|
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
|
# Raspberry Pi Configuration
|
||||||
[rpi]
|
[rpi]
|
||||||
|
|||||||
@@ -5,8 +5,21 @@ signature = "Anonymous"
|
|||||||
|
|
||||||
# Printer settings
|
# Printer settings
|
||||||
[printer]
|
[printer]
|
||||||
vendor_id = "0x04b8"
|
# Where do we upload the pictures and such
|
||||||
device_id = "0x0e28"
|
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
|
# Raspberry Pi Configuration
|
||||||
[rpi]
|
[rpi]
|
||||||
|
|||||||
Reference in New Issue
Block a user