python-escpos/doc
Brian 'Redbeard' Harrington c40f2abe07 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
2019-06-29 19:19:16 -07:00
..
_static PCKG add CONTRIBUTING document to repository and documentation 2016-03-11 14:46:35 +01:00
api doc update modules in autogeneration 2017-01-29 22:33:15 +01:00
dev SETUP move code to src 2016-06-20 17:48:14 +02:00
download DOC add example on printing commands from binary files 2016-05-01 15:27:15 +02:00
user bug/doc: Fix invalid EAN-13 barcode in examples 2019-06-29 19:19:16 -07:00
.gitignore PCKG fix setup.py and improve Manifest 2016-03-11 14:46:36 +01:00
Makefile DOC add very simple (and bad-looking) api-reference as doc-stub 2015-12-26 17:29:20 +01:00
conf.py add version-strings into the module 2016-07-17 19:39:42 +02:00
generate_authors.sh tell sort to ignore case 2017-08-31 13:43:07 +02:00
index.rst doc update modules in autogeneration 2017-01-29 22:33:15 +01:00
make.bat DOC add very simple (and bad-looking) api-reference as doc-stub 2015-12-26 17:29:20 +01:00
pyescpos.ico DOC add favicon 2016-03-11 14:46:36 +01:00
requirements.txt blacklist pytest 3.2.0 because it breaks our tests 2017-08-04 15:17:05 +02:00