Commit Graph

17 Commits

Author SHA1 Message Date
Patrick Kanzler 6697922b74 refactor PEP8 and code style 2016-06-19 12:30:57 +02:00
Patrick Kanzler 910f2fbf2f add with-statement
* with imported from mosquito (adaption of the code in 86a3e8dfb257e3af0ec141ee5d97717501d6e945 by @mosquito)
* encoding of file to utf-8
* added rudimentary test for with
* implement close function for all printers
2016-06-17 23:34:51 +02:00
Davis Goglin b9c9189ca7 Add an exception for missing configuration sections 2016-03-30 17:10:21 -07:00
Davis Goglin 1a866f4d1f Add config parser exceptions 2016-03-28 09:58:42 -07:00
Patrick Kanzler 6b56de67a7 use unicode_literals everywhere 2016-03-08 20:07:16 +01:00
Patrick Kanzler 18518fa901 semiFIX image-printing (still broken) 2016-03-08 20:07:16 +01:00
Dean Rispin e48755f7d0 Add error checking on width and height fields: 2016-03-01 16:25:38 -08: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
Thomas van den Berg 598c893943 add function to print full images including resizing and fix band printing 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
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 0dacc35d94 DOC, IMPROVE improve docstrings and add abstract method _raw to Escpos 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
Manuel F Martinez f6f1a4278f Fixed tabs and added charcode tables 2014-05-20 22:15:54 -07:00
Manuel F Martinez 69cea54818 Added proper installer 2013-03-13 23:22:43 -07:00