Re: how to determine whether (first) printer is lp0 or lp1?
On Sat, 2003-02-08 at 13:45, Seneca wrote:
> On Sat, Feb 08, 2003 at 12:43:05PM -0500, Daniel Barclay wrote:
> > Is there a direct way determine whether the (first) printer is /dev/lp0
> > or /dev/lp1?
>
> echo yes > /dev/lp0
Doesnt always work. For instance on my printer, youll get nothing. A
better way is cat /var/log/kern.log | grep lp That should show you what
port your printer is on.
--
Scott Henson <debian-list@silvercoin.dyndns.org>
Reply to: