Following thermal printer + raspi2 tutorial for printing images (https://learn.adafruit.com/networked-thermal-printer-using-cups-and-raspberry-pi/connect-and-configure-printer), I've already connected the TTL printer through TX and RX serial connections. Also succesfully added as a printer (Zijiang ZJ-58 -> serial:/dev/ttyAMA0?baud=9600), and print test page when I click on test page print, but, the problem is when I try to send a "Hello world. test" or an image file through CUPS. The data is sent, but what I have as output is a endless bunch of Chinese chars:
Code sent for the output from image:
$ lpr -o fit-to-page raspberry-pi-logo.pdf
I'm using Raspbian. Raspberry Pi 2. CUPS libraries. Also tried with and without adding a 1Kohm resistor on Rx and Tx wires.
Is there any issue? Is there something that need to be calibrated? What am I doing wrong?