From 28b82fb54f585f6d5d18d69fd54843087fcae1e1 Mon Sep 17 00:00:00 2001 From: davisgoglin Date: Sat, 19 Mar 2016 20:11:58 -0700 Subject: [PATCH] Fix CODE39 barcodes. Assume Code128 are the same --- escpos/cli.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/escpos/cli.py b/escpos/cli.py index 190b053..f8b949c 100755 --- a/escpos/cli.py +++ b/escpos/cli.py @@ -24,7 +24,7 @@ DEMO_FUNCTIONS = { {'bc': 'UPC-E', 'code': '132435'}, {'bc': 'EAN13', 'code': '1324354657687'}, {'bc': 'EAN8', 'code': '1324354'}, - {'bc': 'CODE39', 'code': '*TEST*'}, + {'bc': 'CODE39', 'code': 'TEST'}, {'bc': 'ITF', 'code': '55867492279103'}, {'bc': 'NW7', 'code': 'A00000000A'}, ], @@ -33,14 +33,14 @@ DEMO_FUNCTIONS = { {'bc': 'UPC-E', 'code': '132435', 'function_type': 'B'}, {'bc': 'EAN13', 'code': '1324354657687', 'function_type': 'B'}, {'bc': 'EAN8', 'code': '1324354', 'function_type': 'B'}, - {'bc': 'CODE39', 'code': '*TEST*', 'function_type': 'B'}, + {'bc': 'CODE39', 'code': 'TEST', 'function_type': 'B'}, {'bc': 'ITF', 'code': '55867492279103', 'function_type': 'B'}, {'bc': 'NW7', 'code': 'A00000000A', 'function_type': 'B'}, {'bc': 'CODE93', 'code': 'A00000000A', 'function_type': 'B'}, {'bc': 'CODE93', 'code': '1324354657687', 'function_type': 'B'}, - {'bc': 'CODE128A', 'code': '*TEST*', 'function_type': 'B'}, - {'bc': 'CODE128B', 'code': '*TEST*', 'function_type': 'B'}, - {'bc': 'CODE128C', 'code': '*TEST*', 'function_type': 'B'}, + {'bc': 'CODE128A', 'code': 'TEST', 'function_type': 'B'}, + {'bc': 'CODE128B', 'code': 'TEST', 'function_type': 'B'}, + {'bc': 'CODE128C', 'code': 'TEST', 'function_type': 'B'}, {'bc': 'GS1-128', 'code': '00123456780000000001', 'function_type': 'B'}, {'bc': 'GS1 DataBar Omnidirectional', 'code': '0000000000000', 'function_type': 'B'}, {'bc': 'GS1 DataBar Truncated', 'code': '0000000000000', 'function_type': 'B'},