Multi-printers #32

Open
n07070 wants to merge 80 commits from multi-printers into master
pull from: multi-printers
2 changed files with 29 additions and 3 deletions
Showing only changes of commit 3fc41f806a - Show all commits

No files matched your search

+14 -1
View File
@@ -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]
+15 -2
View File
@@ -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]