grintor / QRprint

Print QR codes from a thermal printer using Arduino
GNU General Public License v3.0
22 stars 6 forks source link

Size Parameters #1

Open caidavies2 opened 10 years ago

caidavies2 commented 10 years ago

Is there a way of printing the QR code at a specific size? Not so much an issue, but more of a question...

SrBatracio commented 10 years ago

The QR is made out of black and white squares one after each other in zero spacing rows. So as they are just characters you can change the size of them in the way as normal letters. For example with the command thermalPrinter.write(29); thermalPrinter.write(33); thermalPrinter.write(n); Check the manual for more info: http://tronixstuff.com/wp-content/uploads/2011/07/a2-user-manual-1.pdf

P.d. What I'm not still able to do is to print smaller QR codes since I cannot find any command to reduce the characters size. I would appreciate any suggestion for that!!