Identifying and programming the serial ports on Linux distros like Ubuntu,Debian,Fedora,Mint Linux. Serial Port Programming on Linux. Serial communications.
Viewed 645 times
I am building an online POS and trying to establish low level communication with an Epson tm-t88iv thermal printer. there is no direct printing of files, only hexadecimals or ascii can be sent to the hardware in a specific format for it to print. all of this done in a linux enviroment (both ubuntu 13.10 and 12.04). Developing enterprise services for sap pdf printers.
Now the problem is that I can't establish communication with the printer. Hp 6005 pro b29 windows 7 64 bits. I have tried using Jzebra and other java to javascript libraries but with no luck, so I changed to a more familiar environment and tried using the php serial class with a status check code but nothing happens.
- On Linux, all serial ports are driven the same way. Only their device nodes are changing to reflect the port type: i.MX processor internal ports.
- Identifying and programming the serial ports on Linux distros like Ubuntu,Debian,Fedora,Mint Linux etc using termios. Serial Port Programming on Linux. Setting the mode of operation,the default mode of operation of serial port in Linux is the Cannonical mode.For Serial communications with outside devices like serial modems,mice.
which returns an empty string. Also the printer is not receiving the hexadecimals (it is set on a hex-dump state, to print every hex it receives).
I am not sure even if its a coding or hardware problem. I tried installing cutecom to talk with serial port but I don't get any answers either. I also tried doing some stty commands directly from shell but got nothing either.
If someone can please shed a light on why this is happening or if he has any similar experience, it would be great.
Php nntp reader. Download PHP Newsgroup Reader for free. A web-based Newsgroup Reader written in PHP.
![Linux serial port programming Linux serial port programming](/uploads/1/2/6/3/126332034/659249241.png)
thanks!
p.d: i am connecting using a prolific pl2303 serial to usb cable and its correctly installed as far as i am aware.
Kumar VSerial Port Communication Program
7,99188 gold badges3434 silver badges5353 bronze badges
BVJBVJ
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.