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? > > > > 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.
That, too, doesn't always work. On this system, lp0 (my printer) is not mentioned in /var/log/*. "dmesg | grep lp", does mention lp0, and only because the lp module was loaded last night (I decided to get around to getting this system to print, and I wanted to make sure I entered the right device into magicfilterconfig). -- Seneca [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

