2020-05-08 21:19:47 +00:00
|
|
|
Ahmed Tahri
|
|
|
|
akeonly
|
2023-05-08 23:25:48 +00:00
|
|
|
Alejandro Hernández
|
2020-05-08 21:19:47 +00:00
|
|
|
Alexander Bougakov
|
|
|
|
Alex Debiasio
|
2023-07-27 17:10:19 +00:00
|
|
|
Alfredo Orozco
|
2020-05-08 21:19:47 +00:00
|
|
|
Asuki Kono
|
|
|
|
belono
|
2023-05-08 23:25:48 +00:00
|
|
|
B. Howell
|
2020-05-08 21:14:05 +00:00
|
|
|
Brian
|
351 ean example fix (#537)
* bug/doc: Fix invalid EAN-13 barcode in examples
In the various examples and python-escpos CLI there are a number of uses
of `13243546557687` as an EAN-13 example. This EAN barcode is invalid
as the checksum should be `0` and not `7`.
```
$ python test_print.py
Traceback (most recent call last):
File "test_print.py", line 5, in <module>
p.barcode('13243546557687', 'EAN13', 64, 2, '', '')
File "/home/pi/fatt-display/lib/python3.7/site-packages/escpos/escpos.py", line 433, in barcode
bc=bc,
escpos.exceptions.BarcodeCodeError: No Barcode code was supplied (Barcode '13243546557687' not in a valid format for type 'EAN13')
```
This patch set removes `13243546557687` and replaces it with the valid
number `40063813339310`.
In researching the list of [assigned prefixes issued by
G1][g1-prefixes] there seemed to be no "officially" defined test prefix, so
this change was made to be minimally invasive using the number from the
existing test cases.
Resolves #350
Affects #176
[g1-prefixes]: https://www.gs1.org/standards/id-keys/company-prefix
[test-code]: https://www.barcodelookup.com/4006381333931
---------
Co-authored-by: Brian 'Redbeard' Harrington <redbeard@dead-city.org>
2023-07-28 16:23:18 +00:00
|
|
|
Brian 'Redbeard' Harrington
|
2020-05-08 21:19:47 +00:00
|
|
|
Christoph Heuel
|
|
|
|
Cody (Quantified Code Bot)
|
|
|
|
csoft2k
|
|
|
|
Curtis // mashedkeyboard
|
|
|
|
Davis Goglin
|
|
|
|
Dean Rispin
|
2023-05-08 23:25:48 +00:00
|
|
|
dependabot[bot]
|
2020-05-08 21:19:47 +00:00
|
|
|
Dmytro Katyukha
|
2023-07-27 17:10:19 +00:00
|
|
|
Florent de Labarre
|
2020-05-08 21:19:47 +00:00
|
|
|
Gerard Marull-Paretas
|
|
|
|
Hark
|
|
|
|
Joel Lehtonen
|
|
|
|
Justin Vieira
|
|
|
|
kennedy
|
|
|
|
Kristi
|
|
|
|
ldos
|
|
|
|
Lucy Linder
|
|
|
|
Manuel F Martinez
|
2023-05-08 23:25:48 +00:00
|
|
|
Mathieu Poussin
|
2020-05-08 21:19:47 +00:00
|
|
|
Maximilian Wagenbach
|
|
|
|
Michael Billington
|
|
|
|
Michael Elsdörfer
|
|
|
|
mrwunderbar666
|
|
|
|
Nathan Bookham
|
|
|
|
Omer Akram
|
|
|
|
Patrick Kanzler
|
|
|
|
primax79
|
|
|
|
Qian Linfeng
|
|
|
|
Ramon Poca
|
|
|
|
reck31
|
|
|
|
Renato Lorenzi
|
2023-07-27 17:10:19 +00:00
|
|
|
Ricardo Sánchez Alba
|
2020-05-08 21:19:47 +00:00
|
|
|
Romain Porte
|
|
|
|
Sam Cheng
|
|
|
|
Sergio Pulgarin
|
|
|
|
Stephan Sokolow
|
|
|
|
Thijs Triemstra
|
|
|
|
Thomas van den Berg
|
2023-07-27 17:10:19 +00:00
|
|
|
vendryan
|
2020-05-08 21:19:47 +00:00
|
|
|
Yaisel Hurtado
|
|
|
|
ysuolmai
|
2023-05-08 23:18:00 +00:00
|
|
|
白月秋见心
|