troubleshooting Question

RS232 printing linux driver

Avatar of clement_nuss
clement_nussFlag for Switzerland asked on
Printers and ScannersHardwareSystem ProgrammingRaspberry Pi
4 Comments2 Solutions765 ViewsLast Modified:
Hi,
I need some help here .. I want to connect a Fujifilm EXP-2500 to a raspberry Pi, in order to save pictures taken with the EXP-2500 on a hard-drive.

The problem in this topic is the communication with the EXP-2500 : I've got 2 options : first of all, a 2wires cable that sends a signal when I need to capture an image. Using this signal in the Raspberry Pi wouldn't be too difficult, but I would prefer the 2nd option : The Endoscopy Processor (EXP-2500) has got an option for serial communication with a printer. I already managed to connect a computer to the serial port, but when I try to "print" an image with the EXP-2500, it only sends my computer a few bits (248 I think), two times the same ~128 bits sequence. But after that nothing more, except a message on the EXP-2500 annoucing a time out error while communicating with the printer.
It looks like the EXP-2500 is sending the beginning of a protocol to the computer, but as I am too young to know how RS232 printing was supposed to work, I'm here asking for help.
The EXP-2500 is able to communicate using the RS-232 port to 3 different devices : two Sony printers (a Sony UP-51MD printer and a UP-25MD if I remember well, and to device called "CP900" -no more infos about this one.).
What I need here is the protocol used by these printers, so that I could emulate the behaviour of a printer with the raspberry Pi. Once I have it, I'll be able to get infos form the EXP-2500 way more easily as if I take the first option (in which case I would have to use a text recognition software to get the patient's name anf other infos...)

I hope my question isn't too specific and that it is explained good enough for you to help me!

Thanks in advance

Clément
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros