bitbank2 / Thermal_Printer

Arduino library to draw text and graphics on BLE thermal printers
Apache License 2.0
383 stars 54 forks source link

Polished cat printer functions #34

Closed fulda1 closed 2 years ago

fulda1 commented 2 years ago

.... make cat printer calls as functions. Double check functionality of them

SchemingWeasels commented 2 years ago

What value do we write to setEnergy to change between Eco and High-Quality mode? Is it a continuous setting or rather an on-off between the two? From other libraries, it seems like it takes 2 bytes.

fulda1 commented 2 years ago

Hi, I did update for WiKi: https://github.com/fulda1/Thermal_Printer/wiki/Public-API

Set energy used for printing. Bigger energy mean slower print with nice contrast, lower energy mean faster print with poor contrast. Values 2000 to 5000 mean fast less quality print; values about 6000 mean normal quality; values 8000+ mean nice, but slower print. Not all printers support this command. Tested on cat printer.