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

Begoña Llorente sunhelp at sunhelp.org
Wed Jul 25 05:05:00 CDT 2001


Thanks for your answer.
I have tried this solution and it doesn't work. Then I have tried to
print any other commad output ( ls -l | lpr ) and it does work, so I
assume lp is correctly configured.

Any other idea?
Begoa

--------------------------------------------
From: "Will Mc Donald"
To: <SunHELP at sunhelp.org>
Sent: Wednesday, July 25, 2001 10:52 AM
Subject: [SunHELP] How to redirect sysLog file to a printer?

>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