Board logo

Ubuntu RS-232 Capture
Rob3 - 16/1/12 at 07:21 PM

A little off topic i know!

Ended up in a situation at work where a solution to this would be most helpful.

I need to capture RS-232 data from a panel printer, store it in a log file (Can get this far with a Cat).

These need to be separated into 'files' where appropriate (imagine a supermarket printer, needs a file for each receipt). These files need to be converted or outputted as PDF's.

These then need to be FTP'd off somewhere - I can do this bit also!

Any help or guidance would be most appreciated, if anyone can offer a turn key solution on something like a sheevaplug then this would be excellent.

Payment waiting for any assistance provided.

Thanks in anticipation

Rob


ChrisW - 16/1/12 at 07:41 PM

I can code something like this for you in Perl, but it's not a quick job. Probably a day's work to write, depending on how difficult the protocol is.

Drop me a u2u if you want to discuss further.

Chris


JonBowden - 16/1/12 at 11:08 PM

Years ago, I transferred accounts data from an old UNIX system by printing the data to a serial printer but instead of the printer, I had a PC running a terminal emulation program that saved to a file. The old windows terminal emulaiton program hyperterminal would do this.
If you must use Ubuntu, I'd guess that something similar might be possible


JonBowden - 16/1/12 at 11:09 PM

search for free terminal emulation software