tweak default label format
This commit is contained in:
parent
ce1762ada8
commit
626b78fcd1
|
@ -78,8 +78,9 @@ class BlasterTwoUpFormatter(labels.TwoUpCommandFormatter, BlasterFormatter):
|
|||
half_offset = 120
|
||||
|
||||
def label_body_commands(self, product, x=0):
|
||||
description = '%s %s' % (product.description, product.size)
|
||||
return [
|
||||
'STRING 5X7(1,1,1,1) %u 5 %s' % (x + 5, product.description[:17]),
|
||||
'STRING 5X7(1,1,1,1) %u 15 %s' % (x + 5, product.description[17:]),
|
||||
'STRING 5X7(1,1,1,1) %u 5 %s' % (x + 5, description[:17]),
|
||||
'STRING 5X7(1,1,1,1) %u 15 %s' % (x + 5, description[17:]),
|
||||
'BARCODE UPCA+ %u 75 25 %011u' % (x + 9, product.upc),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue