RE: [ILUG] Serial Port Logging

From: Adrian Flynn (adrian.flynn at domain worldtravel.ie)
Date: Wed 19 Sep 2001 - 12:37:18 IST


Duplex is not an issue as this is a dumb, text only printer.

What do you mean cat is not required?

Thanks

Adrian

-----Original Message-----
From: ilug-admin at domain linux.ie [mailto:ilug-admin at domain linux.ie]On Behalf Of Colm
Mac Carthaigh
Sent: 19 September 2001 12:24
To: Adrian Flynn
Cc: ilug at domain linux.ie
Subject: Re: [ILUG] Serial Port Logging

On Wed, Sep 19, 2001 at 12:18:26PM +0100, Adrian Flynn wrote:
> Niall
>
> Thanks for your reply, however the printer concerned is not on a linux
> machine, and uses non standard print routines, therefore it cannot be
> captured at source. This is why I was planning on taking the serial cable
> which is currently plugged in to the printer and attaching this (with
> suitable plug modifications) to ttyS0 and linking ttyS1 to the printer
with
> another cable. The data would then be routed through the Linux machine, be
> logged, and then continue on its merry way ;-)
>
> One possible option might be:
> cat /dev/ttyS0 |tee -a /var/log/printerlog >/dev/ttyS1
>

no way would that work, it's a two way thing, it's going to
have to do duplex. And no need for cat in that cmdline btw
;P

--
------------------------------------------------------------
colmmacc at domain redbrick.dcu.ie
(master of the web, apache warrior)
--
Irish Linux Users' Group: ilug at domain linux.ie
http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
List maintainer: listmaster at domain linux.ie
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.281 / Virus Database: 149 - Release Date: 18/09/2001
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.281 / Virus Database: 149 - Release Date: 18/09/2001


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:12 GMT