Php Serial Port Communication Linux Server
I am looking for a way to use a remote serial port on a linux machine over LAN. The machine is running ubuntu 10. Dataram Ramdisk Licence Key here. 04 and I have a arduino board connected to it, that I would like to be able to reprogram or listen/talk to serial output of it over LAN. It would be great if the client software would be platform indepented but linux only client would be ok too. UPDATE: There are some programs like that for windows: (this appears to have a linux version to, but its not open source.) And finally actually wikipedia has some useful notes and references: UPDATE2: Most interesting candidate.
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).
Now the problem is that I can't establish communication with the printer. 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. Include 'src/PhpSerial.php'; // Let's start the class $serial = new PhpSerial; $serial->deviceSet('/dev/ttyUSB0'); $serial->confBaudRate(38400); $serial->confParity('none'); $serial->confCharacterLength(8); $serial->confStopBits(1); $serial->confFlowControl('none'); $serial->deviceOpen(); $serial->sendMessage(' x02 x81 x1B x02 x01 x03 x5C x5C'); $read = $serial->readPort(); var_dump($read); 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.