1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

soft_barcode: add new center=True option

This commit is contained in:
Romain Porte
2020-05-10 14:06:00 +02:00
parent ab30ef4a8c
commit 8ca682e3ac
2 changed files with 6 additions and 2 deletions

View File

@@ -12,3 +12,6 @@ def instance():
def test_soft_barcode_ean8(instance):
instance.soft_barcode("ean8", "1234")
def test_soft_barcode_ean8_nocenter(instance):
instance.soft_barcode("ean8", "1234", center=False)