From 8c186d912d4c774b535d0b08c89b5f4480e5eea6 Mon Sep 17 00:00:00 2001 From: Davis Goglin Date: Fri, 18 Mar 2016 11:42:56 -0700 Subject: [PATCH] Remove EAN8 code check digit --- escpos/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/escpos/cli.py b/escpos/cli.py index 8ae9b2e..3681834 100755 --- a/escpos/cli.py +++ b/escpos/cli.py @@ -23,7 +23,7 @@ DEMO_FUNCTIONS = { {'bc': 'UPC-A', 'code': '13243546576'}, {'bc': 'UPC-E', 'code': '132435'}, {'bc': 'EAN13', 'code': '1324354657687'}, - {'bc': 'EAN8', 'code': '13243546'}, + {'bc': 'EAN8', 'code': '1324354'}, {'bc': 'CODE39', 'code': '*TEST*'}, {'bc': 'ITF', 'code': '55867492279103'}, {'bc': 'NW7', 'code': 'A00000000A'}, @@ -32,7 +32,7 @@ DEMO_FUNCTIONS = { {'bc': 'UPC-A', 'code': '13243546576', 'function_type': 'B'}, {'bc': 'UPC-E', 'code': '132435', 'function_type': 'B'}, {'bc': 'EAN13', 'code': '1324354657687', 'function_type': 'B'}, - {'bc': 'EAN8', 'code': '13243546', 'function_type': 'B'}, + {'bc': 'EAN8', 'code': '1324354', 'function_type': 'B'}, {'bc': 'CODE39', 'code': '*TEST*', 'function_type': 'B'}, {'bc': 'ITF', 'code': '55867492279103', 'function_type': 'B'}, {'bc': 'NW7', 'code': 'A00000000A', 'function_type': 'B'},