From 2b5902aa1210887332a88052cb3bdc288a4a8094 Mon Sep 17 00:00:00 2001 From: Philipp Klaus Date: Thu, 30 Jan 2020 14:47:59 +0100 Subject: [PATCH] Support QL-800 series printing on 62red labels fixes #7, might be related to #22 --- brother_ql_web.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/brother_ql_web.py b/brother_ql_web.py index e5d885d..58cd2b3 100755 --- a/brother_ql_web.py +++ b/brother_ql_web.py @@ -196,7 +196,10 @@ def print_text(): rotate = 'auto' qlr = BrotherQLRaster(CONFIG['PRINTER']['MODEL']) - create_label(qlr, im, context['label_size'], threshold=context['threshold'], cut=True, rotate=rotate) + red = False + if 'red' in context['label_size']: + red = True + create_label(qlr, im, context['label_size'], red=red, threshold=context['threshold'], cut=True, rotate=rotate) if not DEBUG: try: