Commit Graph

5 Commits

Author SHA1 Message Date
Patrick Kanzler 3ee787e8b1
change license to MIT 2017-01-31 03:55:50 +01:00
Michael Billington a0d8689141 apply fixes, mainly to whitespace ( patch by @patkan in #128 ) 2016-04-13 21:27:51 +10:00
Michael Billington 4584e3138a switch default image format to bitImageRaster
Printers which don't have native QR rendering are less likely to support the newer GS ( L graphics command.
2016-04-06 21:39:46 +10: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
Michael Billington f39c4227ec Implement printer-side rendering of QR codes for printers that support it.
Expand settings on escpos.qr to include ec, size,
model and 'native' (send image or send esc/pos QR command).

Default is set as native=False, so existing code will continue to
render QR codes as images.
2016-04-03 13:55:52 +10:00