Le Mardi 11 Juin 2002 23:36, Darren Hammond a �crit : > Hi > > I saw the post regarding the p9100.lrp package a while back and thought > hmmm, I could do something with that. I have a couple of Bering > installations and I've found it makes a great mini distro as well as a > firewall. > > The trouble is I'm having problems getting anything to print directly from > the Bering box. > > Forget p9100.lrp, print servers, firewalls and all that for a minute. > > If I install parport.o, parport_pc.o & lp.o as modules in the normal way, I > get the following on boot. > > parport - Using /lib/modules/parport.o > parport_pc - Using /lib/modules/parport_pc.o > parport0: PC-Style at 0x378 [PCSPP(,...)] > lp - Using /lib/modules/lp.o > lpt0: using parport0 (polling) > > Looks good. > > However, if I try echo "test" >/dev/lp0, I get nothing from the printer. > Should this work? I want to check that I've got the basic system working > before starting to play with packages such as lpd.lrp & p9100.lrp.
/dev/lp0 is not created by default by Bering in /var/lib/lrpkg edit root.dev.mk and add in the file mknod lp0 c 6 0 >null 2>&1 mknod lp1 c 6 1 >null 2>&1 this create devices for parrallel printer on parport0 and partport1 then backup initrd.lrp That should fix your pb Jacques _______________________________________________________________ Multimillion Dollar Computer Inventory Live Webcast Auctions Thru Aug. 2002 - http://www.cowanalexander.com/calendar ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
