LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-08-2008, 01:27 AM   #1
musther
Member
 
Registered: Sep 2007
Posts: 36

Rep: Reputation: 15
Logging data from parallel port.


There's a linux server in a school I do some admin for. And there's an alarm system for the school near by. The alarm outputs some log data via a telephone cable from time to time, and that cable is wired into a parallel plug. That parallel plug was plugged into an old daisywheel printer, and as the alarm system send output, it was churned out of the printer.

Well now the printer is dead, and we were hoping to be able to plug the parallel plug into the linux machine, and set something up to record the output (input by this point) to a file.

So, is there a little tool, or simple script I can use to dump parallel port input to a file, it's all just text I guess.

This isn't mission critical as the alarm system keeps the last 72 hours in memory, but it's used for identifying recurring problems etc.

Thanks.
 
Old 09-08-2008, 08:28 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
If the telephone cable is only 4-6 wires then the printer's port is probably a serial inteface. If so then one can use windows hyperterminal, linux minicom or just the cat command. I would venture that the serial port is the typical 9600,8,n,1 settings. You will also need a NULL adapter to connect the alarm to a PC.

Last edited by michaelk; 09-08-2008 at 08:30 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Send data using parallel port... webquinty Linux - Newbie 2 06-27-2008 08:20 AM
parallel port not there? misophist Linux - Hardware 5 04-12-2007 10:58 AM
is there any shell command to read and write data from parallel and serial port? baosheng Linux - Hardware 2 01-13-2007 08:35 PM
Parallel Port & Serial Port device identification helpmeforlinux Linux - Hardware 3 01-02-2007 01:15 AM
How to Send data to the parallel port lambada Programming 2 02-12-2003 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration