mirror of
https://github.com/pklaus/brother_ql_web.git
synced 2024-05-25 11:56:53 +03:00
Support QL-800 series printing on 62red labels
fixes #7, might be related to #22
This commit is contained in:
parent
b1783cfa4a
commit
2b5902aa12
|
@ -196,7 +196,10 @@ def print_text():
|
||||||
rotate = 'auto'
|
rotate = 'auto'
|
||||||
|
|
||||||
qlr = BrotherQLRaster(CONFIG['PRINTER']['MODEL'])
|
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:
|
if not DEBUG:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user