Stephan Sokolow
050419f117
Apply the cash drawer fix detailed in Issue 10 on the Google Code repo.
...
https://code.google.com/p/python-escpos/issues/detail?id=10
fixes #10
2016-01-08 02:46:21 +01:00
Stephan Sokolow
3e89a10bed
Accept "CODABAR" as an alias for "NW7" in barcode()
2016-01-08 02:46:21 +01:00
Stephan Sokolow
e988873999
Make BarcodeSizeError and BarcodeTypeError display the erroneous value
...
(MUCH more helpful for debugging)
2016-01-08 02:46:21 +01:00
Stephan Sokolow
f7a2caee72
Actually use the barcode height and width parameters
...
(And reverse their order in the method signature so corrections to the
range checks don't break existing code)
check whether this is the solution for #26
2016-01-08 02:46:21 +01:00
Stephan Sokolow
4e1f9db5c7
Make the structure of the ESC/POS commands less opaque
...
(The commands are intended to be readable by people who grew up with ANSI
escape codes so represent them that way in the code)
2016-01-08 02:46:12 +01:00
Davis Goglin
9159aafd18
IMPROVE use sendall instead of send in network-printer
2016-01-08 01:56:06 +01:00
Patrick Kanzler
020ba4145c
DOC add python version information to setup
2016-01-07 23:22:31 +01:00
Patrick Kanzler
592dbe15f6
ADD .directory to .gitignore
2016-01-07 12:41:27 +01:00
Patrick Kanzler
69680b04e9
DOC added notice on RS232 voltage levels
...
fixes #41
2016-01-06 12:13:35 +01:00
Patrick Kanzler
e88a19ef2d
DOC correct mistake in documentation
2016-01-06 12:02:30 +01:00
Patrick Kanzler
c2b45748e1
DOC hide inherited members in printer-api
2016-01-05 23:58:40 +01:00
Patrick Kanzler
8b8ca76af6
DOC improve the documentation
...
* make API-doc more legible
* improve comments in methods
2016-01-05 23:14:35 +01:00
Patrick Kanzler
e5cd37bfbc
clean travis configuration file
...
3d61445e2c
did not really improve the travis-build.
Now try to explcitly install tox.
2016-01-05 12:25:20 +01:00
Patrick Kanzler
3d61445e2c
IMPROVE explicitly install dependecies on travis
2016-01-05 12:12:33 +01:00
Patrick Kanzler
8b8ab80e5f
ADD travis-configuration-file and comments in setup.py
2016-01-05 10:39:28 +01:00
Patrick Kanzler
029549aaae
IMPROVE packaging and testing
...
* uses now tox (currently with no tests) on python 2.7 and 3.4
* upgraded setup.py to setuptools
2015-12-30 16:58:28 +01:00
Patrick Kanzler
6cc325b395
Merge branch 'master' of github.com:braveheuel/python-escpos into development
2015-12-30 12:29:56 +01:00
Patrick Kanzler
a9844b1a1b
Merge pull request #76 from python-escpos/feature-sphinx
...
DOC fix autodoc not working on RTD
2015-12-27 23:00:23 +01:00
Patrick Kanzler
e16e666dce
DOC fix autodoc not working on RTD
2015-12-27 22:57:57 +01:00
Patrick Kanzler
50fbf2873f
DOC improve api.rst
2015-12-27 19:39:22 +01:00
Patrick Kanzler
ce0b0d5ba3
DOC improve documentation
...
* fixes #73
* links now to readthedocs instead of Wiki
2015-12-27 19:09:31 +01:00
Patrick Kanzler
2aafc34ae1
Merge pull request #70 from fau-fablab/fix-pc1252
...
FIX constant definition for PC1252
2015-12-27 19:04:04 +01:00
Patrick Kanzler
c3fbdf28d4
Merge branch 'feature-sphinx'
2015-12-27 19:02:05 +01:00
Patrick Kanzler
8a77c963c3
DOC transfered wiki to sphinx-doc
...
* changed structure of index-file
* copied the WIKI at commit 67601b2d33f5a3cf8e9633e6ad92cca286840680
* adapted the markdown to rst
2015-12-27 19:01:05 +01:00
Patrick Kanzler
b68a5782fe
Merge pull request #74 from python-escpos/feature-sphinx
...
DOC add very simple (and bad-looking) api-reference as doc-stub
2015-12-26 17:31:41 +01:00
Patrick Kanzler
06a68d1c97
DOC add very simple (and bad-looking) api-reference as doc-stub
2015-12-26 17:29:20 +01:00
Christoph Heuel
aa4ffdd21b
Merge branch 'fix/break_output_after_image'
2015-12-13 14:18:44 +01:00
Christoph Heuel
05ea0e929e
Merge branch 'merge/fau-fablab/refac_and_fixes'
2015-12-13 14:11:27 +01:00
Christoph Heuel
50b0691e68
Merge remote-tracking branch 'manpaz/master'
2015-12-12 20:30:52 +01:00
Christoph Heuel
06f2e1e731
Merge remote-tracking branch 'faulab/refactoring-and-documentation'
2015-12-12 18:11:58 +01:00
Christoph Heuel
577de10cb4
Merge remote-tracking branch 'faulab/fix-pc1252'
2015-12-12 17:10:05 +01:00
Christoph Heuel
242399ebe2
Merge branch 'merge/upstream/master'
2015-11-29 16:05:48 +01:00
Christoph Heuel
8fd05eb02b
Add flush function
...
* Flushing the file will cause the driver to flush the cache and print
* the whole buffer.
2015-11-29 16:03:56 +01:00
Patrick Kanzler
c1d985eeaf
FIX constant definition for PC1252
...
* fixes #40
* according to the table http://content.epson.de/fileadmin/content/files/RSD/downloads/escpos.pdf
2015-11-28 14:22:54 +01:00
Patrick Kanzler
0dacc35d94
DOC, IMPROVE improve docstrings and add abstract method _raw to Escpos
2015-11-27 23:13:48 +01:00
Patrick Kanzler
8b5798eedf
ADD requirements.txt and requirements to setup.py
2015-11-27 23:13:48 +01:00
Patrick Kanzler
ef8035527c
REFACTOR do not shadow built-ins
2015-11-27 23:13:48 +01:00
Patrick Kanzler
07d8e073ae
REFACTOR style and PEP8, fixes #66
2015-11-27 23:13:35 +01:00
Patrick Kanzler
096445631f
REFACTOR use new-style class for Escpos
2015-11-27 23:13:35 +01:00
Patrick Kanzler
3ea52e52fd
REFACTOR chained boolean expression in escpos
2015-11-27 23:13:35 +01:00
Patrick Kanzler
371d5e78bd
moved .hgignore to .gitignore
2015-11-27 20:53:57 +01:00
Manuel F Martinez
7e3b6ce586
Updated README and documentation
2015-10-27 13:45:15 -07:00
manpaz
4bb94c2662
Merge pull request #59 from zouppen/vertical-length-fix
...
Support for images vertically longer than 256 pixels
2015-10-27 13:36:21 -07:00
manpaz
ef84a5150f
Merge pull request #61 from HarkonenBade/support-for-libusb0
...
Prevent crash when using libusb0 printers
2015-10-07 23:19:46 -07:00
Hark
cd5969e843
Prevent crash when using libusb0 printers
2015-09-04 22:48:58 +01:00
Christoph Heuel
1a1ed5e7fc
Fix mixed tabs/space error
2015-08-27 23:45:15 +02:00
Christoph Heuel
e23ce9bfc2
Merge remote-tracking branch 'origin/master' into merge/upstream/master
2015-08-27 23:37:44 +02:00
Christoph Heuel
546f47edcc
Fix text wrapping error after image
...
* After an image the text wrapping was disturbed.
2015-08-27 23:20:53 +02:00
Joel Lehtonen
3f6528da07
Support for images vertically longer than 256 pixels
2015-08-25 12:17:11 +03:00
Manuel F Martinez
5eaa6f26d0
Added donation message
2015-08-22 13:52:06 -07:00