Write printer connection and model directly to script
This commit is contained in:
parent
4a695cfff6
commit
0887641f2f
@ -7,7 +7,7 @@ label.put_text('100n 10%% biggggg', 'X7R 50V', 'AVX')
|
|||||||
ff = label.save()
|
ff = label.save()
|
||||||
print('Created Tempfile: ', ff)
|
print('Created Tempfile: ', ff)
|
||||||
try:
|
try:
|
||||||
printer = ql_wrapper.BrotherQlPrinter()
|
printer = ql_wrapper.BrotherQlPrinter(printer_connection='usb://0x04f9:0x209b', model='QL-800')
|
||||||
printer.print_image(ff, cut=False)
|
printer.print_image(ff, cut=False)
|
||||||
printer.print_image(ff, cut=False)
|
printer.print_image(ff, cut=False)
|
||||||
printer.print_image(ff, cut=True)
|
printer.print_image(ff, cut=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user