Hi, I’m trying to send commands to a Zebra KR403 printer through Arduino. I’ve tried both the Uno and Mega and both Software and Hardware Serial and it doesn’t seem to make any difference, the commands do nothing. I’m using code that I found on another post, but I’ve also tried writing my own code.
#include <SoftwareSerial.h>
SoftwareSerial printer(13, 12);
void setup() {
Serial.begin(9600);
printer.begin(9600);
}
void loop() {
printer.print("^XA");
printer.print("^B0R,7,N,0,N,1,0");
printer.print("^FD 7. This is testing label 7^FS");
printer.print("^XZ");
delay(100);
}
I’ve also tried changing the printer.print to printer.write and it didn’t help. I’m using a MAX232 for RS communication. I’ve also tried only using RX, TX and GND, but it didn’t help.
Documentation for printer: https://www.info-kod.hr/datastore/filestore/10/Kratka_uputstva_za_Zebra_KR403.pdf
Any help would be appreciated!