python-escpos/src/escpos
csoft2k 82c67aa646 Fix tabs behaviour (#238)
The changes done in this commit should help with the open issues:
#5, #27 and #161.
The old implementation lacked the NUL char at the end of the command, as
defined on the Epson ESC/POS Reference Guide (see
https://reference.epson-biz.com/modules/ref_escpos/index.php?content_id=53
). Also, the horizontal tab control character (CTL_HT) shouldn't be
there.

This implementation allows setting up to 32 tabs with a given tab width.
Both values are checked to be in the valid ranges defined on the guide.
Also, the TabPosError exception text has been rewritten to define the
stated above.
2017-07-26 10:01:08 +02:00
..
__init__.py add version-strings into the module 2016-07-17 19:39:42 +02:00
capabilities.json improve import capabilities from a submodule 2016-09-02 17:13:38 +02:00
capabilities.py add support for an ESCPOS_CAPABILITIES_FILE environment variable. This is useful in situations where package structure is changed, such as using cx-freeze 2017-03-27 14:39:49 +02:00
cli.py Updated capabilities data to new version 2017-03-29 15:24:36 +02:00
codepages.py add flake8-checks to travis 2017-01-30 02:29:08 +01:00
config.py SETUP move code to src 2016-06-20 17:48:14 +02:00
constants.py Added the DLE EOT querying command. (#237) 2017-07-24 13:57:02 +02:00
escpos.py Fix tabs behaviour (#238) 2017-07-26 10:01:08 +02:00
exceptions.py Fix tabs behaviour (#238) 2017-07-26 10:01:08 +02:00
image.py change license to MIT 2017-01-31 03:55:50 +01:00
katakana.py reformat PEP8 and similar issues 2017-01-30 00:10:14 +01:00
magicencode.py change license to MIT 2017-01-31 03:55:50 +01:00
printer.py Added the DLE EOT querying command. (#237) 2017-07-24 13:57:02 +02:00