[SunHELP] How to redirect sysLog file to a printer?

Will Mc Donald sunhelp at sunhelp.org
Wed Jul 25 04:52:59 CDT 2001


Assuming lp is correctly configured...

tail -f /var/log/syslog | lpr

Will.

----- Original Message -----
From: "Begoa Llorente" <bllorente at cirsa.com>
To: <SunHELP at sunhelp.org>
Sent: Wednesday, July 25, 2001 9:51 AM
Subject: [SunHELP] How to redirect sysLog file to a printer?


> Hi, can anyone help me? I want to redirect my syslog file to a printer
> because we want to have a hard copy of applications alarms in paper at
> the moment they are happening. I'm trying 'tail -f /var/log/syslog >
> /dev/printer' but it does not print anything. Any idea?
>
> Thanks
> Begoa Llorente





More information about the SunHELP mailing list