Nathan Bookham
6fdea1234d
Adjusted QR error correction
...
Maxed out the error correction on QR code generation for vastly improved recognition. The trade-off is that the amount of bytes that can be stored are reduced.
2014-08-16 14:28:20 +01: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
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
Davis Goglin
fa8d961e6d
google code revision ef4c58851474 (Added quad-area characters)
2014-03-14 09:18:23 -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
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