adafruit / Adafruit-Thermal-Printer-Library

Arduino Library for Small Thermal Printers
http://www.adafruit.com/products/600
311 stars 165 forks source link

Configurable maxChunkHeight #11

Closed ennui2342 closed 10 years ago

ennui2342 commented 11 years ago

Made the the maximum chunk height configurable through setMaxChunkHeight(int val). Defaults to 255 set in begin()

I found that for dense black images the chunk height needed to be pulled down to 100 to give the printer chance to keep up. See http://forums.adafruit.com/viewtopic.php?f=8&t=38668

tdicola commented 10 years ago

Thanks for submitting the pull and apologies it took so long to be reviewed. Gave it a quick test and it seems to work well. Merging in now, thanks!