0

Does thermal printer library work for Arduino Duo?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Does thermal printer library work for Arduino Duo?

by infinity95 on Mon Aug 26, 2019 5:35 pm

Does thermal printer library work for Arduino Duo?

infinity95
 
Posts: 1
Joined: Mon Aug 26, 2019 5:34 pm

Re: Does thermal printer library work for Arduino Duo?

by oesterle on Fri Aug 30, 2019 6:47 pm

Hi, infinity95!

Does thermal printer library work for Arduino Duo?


I think you're referring to the Arduino Due.

If so, the adafruit/Adafruit-Thermal-Printer-Library mentions working with the Due in the A_printertest example:
File > Examples > Adafruit Thermal Printer Library > A_printertest

Code: Select all | TOGGLE FULL SIZE
// Here's the syntax for hardware serial (e.g. Arduino Due) --------------
// Un-comment the following line if using hardware serial:

//Adafruit_Thermal printer(&Serial1);      // Or Serial2, Serial3, etc.

Cheers,

Eric

oesterle
 
Posts: 646
Joined: Tue Sep 17, 2013 11:32 pm

Please be positive and constructive with your questions and comments.