mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[IMP] Add a Raw ZPL2 component
This commit is contained in:
committed by
Lois Rilo
parent
a297ab11b8
commit
041ee4cd82
@@ -110,6 +110,8 @@ class PrintingLabelZpl2(models.Model):
|
||||
label_data.font_data(
|
||||
component_offset_x, component_offset_y,
|
||||
barcode_arguments, data)
|
||||
elif component.component_type == 'zpl2_raw':
|
||||
label_data._write_command(data)
|
||||
elif component.component_type == 'rectangle':
|
||||
label_data.graphic_box(
|
||||
component_offset_x, component_offset_y, {
|
||||
|
||||
Reference in New Issue
Block a user