0

C Code for mini thermal receipt printer
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

C Code for mini thermal receipt printer

by Sargas_0X0101 on Tue Feb 12, 2019 6:27 am

Hello all
I have the Thermal printer BT-2.
i can print out my data, but now i want to change size / barcode / qr code
but i dont have the right command words to send to the printer.

this works
\x1B\x61\x0 for aling left
\x1B\x61\x1 for align center
\x1B\x2D\x01 for under line
\x1D\x42\x01 for reverse
....

but i want to print with large / medium / small / bold / barcode and QR code.
can someone help me please ?

Best regards Sargas

Sargas_0X0101
 
Posts: 1
Joined: Tue Feb 12, 2019 6:18 am

Re: C Code for mini thermal receipt printer

by adafruit_support_mike on Fri Feb 15, 2019 2:40 am

Our Arduino library for the thermal printers has C code for all the standard features:

https://github.com/adafruit/Adafruit-Th ... er-Library

adafruit_support_mike
 
Posts: 57056
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.