Nice job bro, Can you explain the parameter to change the size of the font when they were printed in the paper, I mean, what's the relation to the height of the font (millimeter unit) and the parameter of your programing code? thanks
Hi there! i have purchased this printer and am trying to copy your instructions for the simplified connection method (method 2). Unfortunately the video is not very HD and it is hard to see how things are wired. Could you please share the name of the chip or the pinout diagram and explain with a bit more detail where you have connected the wires? Thank you! Great work!
The best way is to look at the chip markings and search for its data sheet, you will be 100% sure about the connections. If you won't find anything, here's some similar chip: www.openimpulse.com/blog/products-page/product-category/max3232-rs232-to-ttl-converter-module/ Remember to check the connections (the rs232 side needs to be connected to the rs232 port, the ttl side needs to be connected somewhere inside the printer with the main chip), as long as your printer has ttl inside. If you won't find the chip, I think the printer will use rs232, so you need to stay with method 1.
@@GoodElectronics For me its just prints a bunch of strange characters. My printer settings are the same as yours. I dont know what am i doing wrong. I use Epson TM-20II. Do you have any idea? Thank you very much!!
@@GoodElectronics is there some place where one could find all or most of these lists of commands for each printer? Or are they generally the same across most models?
Hi. All these instructions are in the code so you can copy them. The cutting instruction is a bit tricky, because you need to eject some more paper before cutting, because the cutting blade is in the front of the printer
I don't know if you can connect this printer to arduino. Maybe you can connect to arduino using USB host shield, but I didn't test it yet, so I can't help you with it. Maybe you will find some code to it.
Hi. I got an epson printer, model M244A. It has an input for USB and RS232. I also have a USB Host Shield for arduino. Can I use the USB connection of the printer with the USB connection of the USB Host Shield, and it works the same as you show in the video? I hope you can help me friend, I would appreciate it very much, there is my subscription and I like it
Sure, you can use USB, but I didn't test any of these shields. It's harder to do, because with RS232 there's already a Serial in Arduino, but with USB you have to implement USB protocols and so. Simply: USB can work, but Serial is much more simple to use.
i have a real pos rpt iv classic printer, in which im usnig an RS 232 to ttl converter to connect it with arduino, in my printer it seems that the rx and tx ports are messed up coz when i connect printer to ttl converter using a cable nothing prints on paper, then i used bare connectors and manually soldered tx and rx pin only, in my case rx pin seems to be at pin 1, despite of doing all these stuffs myprinter is only printing some random character, im using adafruit thermal library, can you tell me whats the issue?
Try changing baudrate and try with every one, that's the only way to figure out the baudrate used in your printer. Most common ones are 9600 and 115200
Hi! I have the same epson printer with this stupid db25 port. when you connect it to the pc, will it work as normal, so i can install epson driver, print from any pos software and so on? please let me know.
I didn't test it, but if you have an rs232 port or rs232 to USB adapter, it will work. It won't work that way I connected it, you must have a direct rs232 to usb (without serial) converter
hey Good Electronics ! please help me !!!! I use " Dump File to Port " in realterm ... exemple". txt" file eject very good but "pdf and outher(-png -jpeg )" file not printig.... why not work .... what would you suggess?
Hi. I tried to see any documentations how to print images and I also haven't found the solution. I think that png, jpeg won't work, you need at least a bitmap, but I don't know how to prepare it to print with this printer.
@Good Electronics, I have thermal printer with only USB port, Can you explain me how can I communicate with arduino? WIll it work if I use USB to TTL converter?
@@GoodElectronics Hi, I have bought the used STAR Micronics TSP650 printer with serial port, and also i have ordered rs232 to ttl adapter and conected everything like you, but I still can't get communication between arduino and printer. Do You have idea what could be problem?
@@GoodElectronics Thanks for Your reply. I have tried to change baudrates, and swap rx and tx pins, but without any progress. Then I bought USB to RS232 adapter cable to try send commands from Realterm to printer and this works well , so now I'm sure that printer works correctly. Now I'm wondering why it doesnt print when I'm using RS232 to TTL adapter. I am total beginer in arduino programing but as I understand just this two lines of code should be enough to send print request to printer: Serial.begin(9600); Serial.print("Hello world"); So if that doesn't work I supose that maybe my RS232 to TTL adapter doesn't work well. What do You think?
If you meant using a printer via bluetooth, then yes, this is possible, with HC-06 module. It works in the same way as Arduino Serial, so commands are the same. Make sure that the module is set to proper baudrate to work.
Hi. I don't have ability to show you with every model of printer, I showed you how to modify a printer if it has RS232 connector. All printers that have this connector will be built in the similar way.
It depends if you prefer the adapter connection or direct soldering connection, and if you want to use a step up converter, write so I will be able to type the list
@@GoodElectronics i mean the device for serial to arduino board, that small chip what is it, and also if you dont mind, you can mention others, you can even paste an affiliate link i'll buy them.
It's a simple time logger with DS1307. You can find a video about it on my channel. Simply add a switch to any analog input, and make an if that detects when this button is pushed. Like this (you also have to add the time script): pinMode(A0, INPUT_PULLUP); if(!digitalRead(A0)) { Serial.print(time); Serial.print(27 100 3); delay(500); }
Unfortunately, I don't have the pdf downloaded and I don't know where to search for the other files, but you can try to search for similar models, for example I found this: files.support.epson.com/pdf/general/escp2ref.pdf Of course most of the commands won't work, but some basic comands are common to all the printers, so they will work.