Commit Graph

18 Commits

Author SHA1 Message Date
Stephan Sokolow 6e72d2778d Allow bypassing the resizing and height-cropping steps in fullimage() 2014-05-22 01:08:58 -04:00
Stephan Sokolow 5b1e6348e5 Accept "CODABAR" as an alias for "NW7" in barcode() 2014-05-22 00:55:09 -04:00
Stephan Sokolow 9885deaa59 Make BarcodeSizeError and BarcodeTypeError display the erroneous value
(MUCH more helpful for debugging)
2014-05-22 00:55:09 -04:00
Stephan Sokolow b5f68f6895 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)
2014-05-22 00:55:09 -04:00
Stephan Sokolow ac640785cc 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)
2014-05-22 00:53:48 -04:00
Davis Goglin fa8d961e6d google code revision ef4c58851474 (Added quad-area characters) 2014-03-14 09:18:23 -07:00
Davis Goglin 417476030e we probably want to send all the data 2014-03-14 09:05:47 -07:00
freeyoung 6a4fbc191f add Chinese support via cp936 2014-03-14 02:05:41 +08:00
freeyoung 9f7e5861cd adjust import order and fix `qr` method 2014-03-14 01:58:55 +08:00
freeyoung b68b3dc6c0 import Image from PIL, or Pillow 2014-03-14 01:51:14 +08:00
freeyoung 5617571f31 tab -> spaces 2014-03-14 01:46:24 +08:00
Davis Goglin b8102acd45 Merge noio/python-escpos with latest google code
Merge branch 'master' of https://github.com/noio/python-escpos

Conflicts:
	escpos/__init__.py
	escpos/escpos.py
	escpos/exceptions.py
	escpos/printer.py
2013-08-22 08:37:10 -07:00
Davis Goglin f8c34e8748 imported latest google code repo 2013-08-22 08:16:57 -07:00
Thomas van den Berg 7d4ef744de fix band printing 2013-02-27 23:18:49 +01:00
Thomas van den Berg 5db192751f remove import PIL 2013-02-27 23:17:56 +01:00
Thomas van den Berg b4f8de002c add function to print full images including resizing 2013-02-27 15:10:34 +01:00
Thomas van den Berg 126dde8a7e add support for printing PIL image objects directly 2013-02-27 13:42:32 +01:00
Thomas van den Berg a6c72adc58 copy files from google code repo 2013-02-27 13:31:18 +01:00