THERMAL PRINTER INTERFACING WITH ARDUINO

Photo of author

By Jackson Taylor


PROGRAM -ARDUINO
void setup()
{
Serial.begin(9600);  delay(100);
Serial.write(0x1b);//increase width and bold of letter
Serial.write(0x21);//increase width and bold of letter
Serial.write(0x19);//increase width and bold of letter
Serial.print(“THERMAL PRINTING BY”);
Serial.write(0xa);//end and feed new line
Serial.print(“EMERGING TECHS”);
Serial.write(0xa);//end and feed new line
Serial.write(0xa);//end and feed new line
Serial.write(0xa);//end and feed new line
Serial.print(” “);
Serial.write(0xa);//end and feed new line
Serial.print(” “);
}
void loop()
{
}

See also
MOSFET & IGBT