I connected my Epson TM-T88IV thermal receipt printer to my Raspberry Pi via
serial connection. The printer has a RS232 port, from which I'm using pins no.
2, 3 and 7, which are used for transmit, read and ground signals. Those pins
are connected to corresponding Raspberry Pi pins while transmit and read are
crossed.
I followed the set-up and usage tutorial step by step, but whenever I try to
print some kind of data (e.g. Hello world!) then the printer prints garbage. At
first it printed random garbage text, but when I set up the DIP switches (DSW1:
all pins except 7 are off; DSW2: all pins are off) and changed the settings in
the code, it keeps printing me the same garbage text every time. For example,
the text 'Hello world!' prints as 'S ??::'. Whenever I try printing a single
letter, the printer wouldn't print anything at all.
I think that the problem lays somewhere between the printer and Raspberry Pi
settings, but could anyone help me get closer to the solution?
Original issue reported on code.google.com by
rodionov...@gmail.comon 6 Feb 2015 at 11:58