Michael Elsdörfer
3fd1a3de5d
A suggested format for defining the code pages.
2016-08-26 15:14:28 +02:00
Michael Elsdörfer
8b5bc9cf8a
Make the Escpos class accept a profile.
...
This is now used for the block_text function.
2016-08-26 10:41:01 +02:00
Michael Elsdörfer
a8574ad9d7
Support loading capabilites YAML into Python classes.
2016-08-26 10:41:01 +02:00
Michael Elsdörfer
ed3077f00f
Define a capability format in YAML.
2016-08-26 10:41:01 +02:00
Patrick Kanzler
798893caee
refactor access of private member _img of qrcode
...
Since version 2.5 python-qrcode allows the direct access of the
PIL-functions. (We require version 4 and above).
Thus, we can simply call qr_img.convert() without accessing the private
member.
This refactoring is identical in functionality.
2016-08-15 23:24:06 +02:00
Patrick Kanzler
e8d91a6735
test add type-check for the qr-printing
2016-08-15 23:23:07 +02:00
Patrick Kanzler
a38c124bb1
Merge branch 'master' of github.com:python-escpos/python-escpos
2016-08-10 01:31:56 +02:00
Patrick Kanzler
e44d89bd33
DOC update changelog for v2.1.3
2016-08-10 01:30:19 +02:00
Patrick Kanzler
7312db4adb
Merge pull request #158 from python-escpos/development
...
v2.1.3
2016-08-10 01:23:47 +02:00
Patrick Kanzler
59dccd79da
test add test for image-splitting-method
2016-08-07 14:39:58 +02:00
Patrick Kanzler
603b34cadb
test add test for the fragment-splitting
2016-08-07 13:49:46 +02:00
Patrick Kanzler
340a47d2f6
Merge pull request #152 from python-escpos/fix/large-image-printing
...
Fix/large image printing
2016-08-07 12:22:25 +02:00
Patrick Kanzler
dfe2cdbff8
configure readthedocs with yml
2016-08-02 18:39:56 +02:00
Patrick Kanzler
eea2a6f9c0
travis: configure email-notifications
2016-08-02 16:41:47 +02:00
Patrick Kanzler
11452034a3
Merge pull request #157 from python-escpos/development
...
v2.1.2
2016-08-02 16:32:19 +02:00
Patrick Kanzler
d2e2ea88a6
doc write changelog for version v2.1.2
2016-08-02 16:07:05 +02:00
Patrick Kanzler
2416303805
Merge pull request #156 from python-escpos/fix/code128-printing
...
fix printing of CODE128
2016-08-02 15:57:52 +02:00
Patrick Kanzler
38f9835931
fix printing of CODE128
...
The control sequence {A or {B or {C can't be part of the qr code.
For this the user has to supply this sequence.
2016-08-02 15:39:31 +02:00
Patrick Kanzler
7c732ee615
doc fix lists
2016-08-02 04:38:04 +02:00
Patrick Kanzler
3d98eb8b9c
fix file-printer did not flush
...
The file-printer did not automatically flush and thus behaved
differently to the other printer-classes.
Now the default behaviour is to flush after every call of _raw(). This
can be disabled by calling the file-printer with auto_flush=False.
fixes #106
2016-08-02 04:25:54 +02:00
Patrick Kanzler
619d80a867
doc add changelog-stump for post-2.1.1 release
2016-08-02 00:45:36 +02:00
Patrick Kanzler
d3f74ced5d
doc update changelog for release v2.1.1
2016-08-02 00:41:10 +02:00
Patrick Kanzler
0524b0576e
Merge pull request #154 from python-escpos/development
...
release v2.1.1
2016-08-02 00:39:06 +02:00
Patrick Kanzler
c92d4463ae
update changelog
2016-08-02 00:27:08 +02:00
Patrick Kanzler
6e74748773
Merge pull request #153 from python-escpos/improve/add-hypothesis-support
...
Improve/add hypothesis support
2016-08-02 00:25:00 +02:00
Patrick Kanzler
a2e188cecf
move pypy3 to the allowed failures and add hypothesis
...
pypy3 is not compatible with hypothesis, which is needed for testing
2016-08-02 00:10:39 +02:00
Patrick Kanzler
c1a6da9aaa
configure codecov.io
...
For $reasons codecov.io stopped working. Now with my account explicitly
set as "bot" it works again.
2016-08-02 00:10:39 +02:00
Patrick Kanzler
2ecf73074c
improve large image printing
...
images longer than 1024 pixels will be split into multiple fragments.
2016-08-02 00:04:43 +02:00
Patrick Kanzler
37baf5cd34
update changelog
2016-08-01 23:59:46 +02:00
Patrick Kanzler
5c209dd557
Merge pull request #151 from Renato-Lorenzi/improve/rename-interface-to-timeout
...
Change the interface param to timeout
2016-08-01 23:54:35 +02:00
Renato.Lorenzi
bef1a9cccf
Change the interface param to timeout
2016-08-01 09:36:48 -03:00
Patrick Kanzler
10977b06e7
doc add hint on image preprocessing
2016-08-01 14:02:49 +02:00
Patrick Kanzler
042f945a09
doc added stump for next release
2016-07-23 14:57:24 +02:00
Patrick Kanzler
2cf30c7f05
Merge pull request #147 from python-escpos/development
...
v2.1.0
2016-07-23 14:42:33 +02:00
Patrick Kanzler
34d929806c
doc update changelog
2016-07-23 11:44:34 +02:00
Patrick Kanzler
c5d34cc268
Merge pull request #148 from python-escpos/feature/tabcompletion
...
Feature/tabcompletion
2016-07-23 11:43:07 +02:00
Patrick Kanzler
fd3f1067fe
DOC update documentation on installation and CLI
2016-07-23 11:34:18 +02:00
Patrick Kanzler
80b714fdae
add basic argcomplete support
2016-07-23 10:39:40 +02:00
Patrick Kanzler
457c62cc7f
Merge pull request #146 from python-escpos/add-version-to-module
...
add version-strings into the module
2016-07-23 08:54:03 +02:00
Patrick Kanzler
a5cae3adb7
fix inconsistent behaviour of argparse-code
...
this affected certain versions of argparse in python3
2016-07-17 19:39:51 +02:00
Patrick Kanzler
9f5eed0020
add version-strings into the module
...
The version string is in the module as __version__ available.
In the doc the version will be automatically parsed. The version comes
from the installed module if on read the docs or directly from
setuptools_scm if you are working locally.
The CLI will issue the version string if you call it with the option
'version'. The CLI does not accept commands like '--version', since this
would not be conform with the rest of the interface (and argparse).
The configuration for loading the version-string is adapted from
pimutils/vdirsyncer. It autogenerates a version string setuptools_scm at
install-time and then adds it to the __version__ member in __init__.py
I adapted the GitHub-template with a fitting comment and bumped the
changelog.
closes #141
2016-07-17 19:39:42 +02:00
Patrick Kanzler
57dd60c13f
doc: add troubleshooting hint to network-interface
...
closes #142
2016-07-15 13:18:33 +02:00
Patrick Kanzler
0ec83387d5
improve github issues template
2016-07-15 13:05:59 +02:00
Patrick Kanzler
36e0a52e2d
DOC added stump for new changelog-entry
2016-06-26 20:52:31 +02:00
Patrick Kanzler
214b4def14
configure codecov.io
...
fixes #134
2016-06-26 20:39:06 +02:00
Patrick Kanzler
c13a0715e4
SETUP fix trove classififiers
2016-06-24 11:55:27 +02:00
Patrick Kanzler
925d19447d
Merge pull request #117 from python-escpos/development
...
version 2.0.0
2016-06-24 11:16:57 +02:00
Patrick Kanzler
5be81e4703
SETUP register cli entry point in setuptools
2016-06-23 16:53:58 +02:00
Patrick Kanzler
ab39fd2b99
Merge branch 'doc/add-image-helper-class' into development
2016-06-23 15:39:31 +02:00
Patrick Kanzler
685a1f504c
DOC add image helper class
2016-06-23 15:38:55 +02:00