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

Will Mc Donald sunhelp at sunhelp.org
Wed Jul 25 05:23:17 CDT 2001


Do you (i.e. the user you're trying this as) have appropriate permissions to
read syslog? Does

tail -f /var/log/syslog

produce the 10 or so lines that you think it should?

Will.

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


> 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.





More information about the SunHELP mailing list