Patrick Kanzler
6697922b74
refactor PEP8 and code style
2016-06-19 12:30:57 +02:00
Michael Billington
b45afbb297
add implementation of GS v 0, GS ( L and GS *.
...
- ported test cases for EscposImage class, copied over 1px and 2px test images from escpos-php
- added test cases over image print function
- updated QR tests to also include image output check
- updated CLI to match new image function options
2016-04-06 07:34:19 +10:00
Davis Goglin
fca363119c
Fix converting of passed bool values properly
2016-04-01 10:31:28 -07:00
Davis Goglin
b6b30d7c82
Add future imports
2016-03-30 13:29:28 -07:00
Davis Goglin
fd6a0e4bda
Add an automatic newline for some methods
2016-03-28 15:15:53 -07:00
Davis Goglin
38b58eb39a
Remove executable flag so we hopefully get code coverage
2016-03-28 15:07:16 -07:00
Davis Goglin
76f300ea18
Fix text argument
2016-03-28 14:51:48 -07:00
Davis Goglin
f504d2dc15
Allow config path to be passed
2016-03-28 11:49:12 -07:00
Davis Goglin
5a2ca10874
Add docstring
2016-03-28 11:19:09 -07:00
Davis Goglin
8101e1ec9f
Reduce many lines of code to a loop
2016-03-28 11:16:37 -07:00
Davis Goglin
1a000d29fd
Add a newline for text demo
2016-03-28 09:58:42 -07:00
davisgoglin
28b82fb54f
Fix CODE39 barcodes. Assume Code128 are the same
2016-03-28 09:58:42 -07:00
davisgoglin
a445c4205a
Add cut after printing demos
2016-03-28 09:58:42 -07:00
davisgoglin
00ef7f129b
Add raw option when using cli
2016-03-28 09:58:42 -07:00
Davis Goglin
8c186d912d
Remove EAN8 code check digit
2016-03-28 09:58:42 -07:00
Davis Goglin
ca3b4665a2
pylint changes
2016-03-28 09:58:42 -07:00
Davis Goglin
4f92247ed6
Fix no help display in python3
2016-03-28 09:58:42 -07:00
Davis Goglin
7a58109928
Clean up per landscape
2016-03-28 09:58:42 -07:00
Davis Goglin
7afd5e75d4
Add docstrings
2016-03-28 09:58:42 -07:00
Davis Goglin
7d74dcac00
Add demo functions
2016-03-28 09:58:42 -07:00
Davis Goglin
d5073626ae
Update CLI to use config class
2016-03-28 09:58:42 -07:00
Davis Goglin
27352b071c
Refactor empty exception handler
2016-03-28 09:58:42 -07:00
Davis Goglin
87a73beb31
Moved printer destination configuration to config file
2016-03-28 09:58:42 -07:00
Davis Goglin
133241e7e9
Moved printer choice to groups and parse manually
2016-03-28 09:58:42 -07:00
davisgoglin
eea3e76eed
Remove unused import
2016-03-28 09:58:42 -07:00
davisgoglin
28be6a2041
Add usage
2016-03-28 09:58:42 -07:00
davisgoglin
d523b4d342
consistent syntax
2016-03-28 09:58:42 -07:00
davisgoglin
99291abd10
rewrite cli
2016-03-28 09:58:42 -07:00
Patrick Kanzler
41c6afd3b8
REFACTOR replace % op with format were it is easy
2016-01-08 03:43:33 +01:00
Patrick Kanzler
f25521f22f
REFACTOR fix minor PEP8 and similar mistakes
2016-01-08 03:34:14 +01:00
Stephan Sokolow
a921061b40
Start on a command-line interface to the library (still hard-codes USB ID)
...
(...and still needs better documentation)
2016-01-08 02:46:21 +01:00