From 734598a3790ef0c3295472a89afdf504643f835f Mon Sep 17 00:00:00 2001 From: Dirk Jahnke Date: Fri, 1 Apr 2022 10:19:27 +0200 Subject: [PATCH] Started using config file --- config.example.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 config.example.json diff --git a/config.example.json b/config.example.json new file mode 100644 index 0000000..744e19a --- /dev/null +++ b/config.example.json @@ -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…" + } +} \ No newline at end of file