diff --git a/rattail/hw/cognitive/labels.py b/rattail/hw/cognitive/labels.py index e1a09e7..1356e58 100644 --- a/rattail/hw/cognitive/labels.py +++ b/rattail/hw/cognitive/labels.py @@ -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), ]