Support QL-800 series printing on 62red labels

fixes #7, might be related to #22
This commit is contained in:
Philipp Klaus 2020-01-30 14:47:59 +01:00
parent b1783cfa4a
commit 2b5902aa12

View File

@ -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: