Re: Interfacing a thermal printer with PIC
Posted: Mon Sep 21, 2020 1:36 pm
Infact I tried what you said just after I posted the last post. I had this series of frames that were sent from a system to the printer earlier. I used that, A part of it looks like this
I tried your snippet as well.
In the above link, I was trying to give you the information of the serial device I use. That's all. I guess the problem lies in the device. But I couldn't figure it out.
Ela
- Code: Select all
EUSART1_Write("\0x1b@\0x1dP\0x00\0xfe\0x1bp0\0x96\0xfa\0x1b@\0x1dP\0x00\0xfe\0x1dv0\0x00H\0x00\0x1b\0x00\0x00\0x1bJ\0xff\0x1dV1");
I tried your snippet as well.
- Code: Select all
EUSART1_Write("\0x1d\0x56\0x48");
In the above link, I was trying to give you the information of the serial device I use. That's all. I guess the problem lies in the device. But I couldn't figure it out.
Ela