diff --git a/app.py b/app.py index b541dc7..633e74a 100644 --- a/app.py +++ b/app.py @@ -22,26 +22,26 @@ templates = { "DNH": { "text1": { "string": "Do Not Hack", - "size": 50, + "size": 130, "pos": 0 }, "text2": { "string": "bottom text", - "size": 25, - "pos": 55 + "size": 50, + "pos": 130 }, "cut": True }, "Food": { "text1": { "string": "Nickname", - "size": 50, + "size": 130, "pos": 0 }, "text2": { "string": "", - "size": 25, - "pos": 55 + "size": 50, + "pos": 130 }, "cut": True } diff --git a/printer_info.py b/printer_info.py index 2e1a688..4edbee5 100644 --- a/printer_info.py +++ b/printer_info.py @@ -1,3 +1,4 @@ # SPDX-License-Identifier: GPL-3.0-or-later -label_width = 100 + +label_width = 213 printer_width = 512 diff --git a/templates/image.html b/templates/image.html index 5e44d66..b5be4f7 100644 --- a/templates/image.html +++ b/templates/image.html @@ -10,7 +10,7 @@ {% if filename %}

- Uploaded image + Uploaded image
{% if cut %} diff --git a/templates/text.html b/templates/text.html index aff7bf9..d4663d8 100644 --- a/templates/text.html +++ b/templates/text.html @@ -34,7 +34,7 @@ {% if filename %}

- Generated Image + Generated Image {% if cut %}