Started using config file

This commit is contained in:
Dirk Jahnke 2022-04-01 10:19:27 +02:00
parent f507481491
commit 734598a379
1 changed files with 27 additions and 0 deletions

27
config.example.json Normal file
View File

@ -0,0 +1,27 @@
{
"SERVER": {
"PORT": 8013,
"HOST": "",
"LOGLEVEL": "WARNING",
"ADDITIONAL_FONT_FOLDER": false
},
"PRINTER": {
"MODEL": "QL-650TD",
"PRINTER": "usb://0x04f9:0x20c0"
},
"LABEL": {
"DEFAULT_SIZE": "62",
"DEFAULT_ORIENTATION": "standard",
"DEFAULT_FONT_SIZE": 70,
"DEFAULT_FONTS": [
{"family": "Minion Pro", "style": "Semibold"},
{"family": "Linux Libertine", "style": "Regular"},
{"family": "DejaVu Serif", "style": "Book"}
]
},
"WEBSITE": {
"HTML_TITLE": "Label Designer",
"PAGE_TITLE": "Brother QL Label Designer",
"PAGE_HEADLINE": "Design your label and print it…"
}
}