2021-12-30 16:12:24 +01:00
|
|
|
#!/bin/python
|
|
|
|
|
2021-12-28 18:13:36 +01:00
|
|
|
import shimatta_label.label_image as li
|
|
|
|
import shimatta_label.brother_ql_wrapper as ql_wrapper
|
|
|
|
from shimatta_label.storage_label import StorageLabel
|
|
|
|
|
|
|
|
label = StorageLabel()
|
|
|
|
label.put_content('[stor_uuid]1c5cf30a-829c-4716-abfc-9ae2d4d493b2', '/Test1')
|
|
|
|
|
|
|
|
printer = ql_wrapper.BrotherQlPrinter(label_format='29x90')
|
2021-12-30 16:12:24 +01:00
|
|
|
printer.print_image(label.get_pillow_image(), rotation=90, cut=True)
|