[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to determine whether (first) printer is lp0 or lp1?



Seneca wrote:
> 
> On Sat, Feb 08, 2003 at 02:17:58PM -0500, Scott Henson wrote:
> > 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?
> > >
> > > ...
> > Doesnt always work.  ...
> 
> That, too, doesn't always work.  

Is there any relevant node in the /proc filesystem ?



Daniel
-- 
Daniel Barclay
dsb@smart.net



Reply to: