Commit Graph

34 Commits

Author SHA1 Message Date
Stephan Sokolow 5a99c73e7a Start on a command-line interface to the library (still hard-codes USB ID)
(...and still needs better documentation)
2014-08-15 20:20:02 -04:00
Stephan Sokolow 64c36a74ed Allow bandsize to be varied in fullimage() 2014-08-15 20:17:35 -04:00
Stephan Sokolow 2a8f852c68 Ensure QR codes have a border large enough for successful scan
(The QR code spec requires a border at least 4*box_size thick but we can't
 just set border=16 because that results in a QR code more than 255px tall
 and I'm not yet ready to use fullimage() as a backend for it)
2014-05-22 01:41:02 -04:00
Stephan Sokolow b6216403c4 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
2014-05-22 01:11:27 -04:00
Stephan Sokolow 6e72d2778d Allow bypassing the resizing and height-cropping steps in fullimage() 2014-05-22 01:08:58 -04:00
Stephan Sokolow a8ff446229 Add the setup.py-produced "build" folder to .gitignore 2014-05-22 00:55:09 -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 42309fedfe Update README.md
Clarify character support
2014-03-14 10:32:10 -07:00
Davis Goglin 4795664cbe Reformatted and added more sections 2014-03-14 10:01:15 -07: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
Davis Goglin ea1364bcc8 Update README.md
Make code description consistent with code.
2014-03-14 08:33:09 -07:00
Davis Goglin 9fdb382c99 Merge pull request #1 from freeyoung/master
Several small improvements
2014-03-14 08:23:45 -07:00
freeyoung 8c115bce27 use doge.jpg as the example of p.image 2014-03-14 02:20:57 +08:00
freeyoung 0590ec90a2 use my own examples 2014-03-14 02:09:10 +08: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 442e523956 fix README path 2014-03-14 01:48:12 +08:00
freeyoung 5617571f31 tab -> spaces 2014-03-14 01:46:24 +08:00
Davis Goglin f1d7afded2 minor cleanup 2013-08-22 08:42:31 -07: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 84e316ac32 Update README.md 2013-06-25 22:32:14 +03: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 f273b51917 markdownify readme 2013-02-27 13:32:43 +01:00
Thomas van den Berg a6c72adc58 copy files from google code repo 2013-02-27 13:31:18 +01:00
Thomas van den Berg 4daece43e7 Initial commit 2013-02-27 04:27:04 -08:00