Builds fine, and the utilities 'lpr' 'lpq' 'lpc' seem OK. However, 1. Permissions on /var/spool/lpd as installed are such that no user may queue anything; 2. Once that is corrected, lpd won't print for me; my printcap in relevant part reads: =========================== .common: :sd=/var/spool/lpd/%P :sh:mx=0:mc=0 lp|hp:tc=.common:lp=192.168.1.4%9100 \ :filter=/usr/local/libexec/filters/ifhp :ifhp=model=hp4simx ============================ The test is pretty simple: 1. Fix printcap to be as above; 2. cd /etc/init.d 3. ./LPRng stop ### Stop locally grown daemon 4. ./lprng start ### And start up the new one 5. lpc (to make sure everything is up & enabled & started & whatever else) 6. a2ps -o lprng.ps lprng 7. lpr -B lprng.ps And watch: First, "no permissions" with /var/spool/lpd/lp And then, lpstat -> "No server enabled" This works fine with locally built lprng-3.8.10, and it seems to be a problem with the configuration as build for 3.8.21. Putting force_localhost@ (or default force_localhost@) in the "/etc/lprng/lpd.conf" file does not cure anything. Since my locally built lprng-3.8.10 works fine on any system I have put it on, I am just going to say that lprng-3.8.21 might be OK, but it certainly doesn't work "out of the box." If anyone will tell how to fix the configuration problem, I'll give 3.8.21 a workout, since I do a lot on network printing (on the printer described above) anyway. (By the way, I could not use lprng at all without the 'ifhp' filter; have you ever considered adding it to GenToo?)
i'd like to close this bug ;) can you please test 3.8.22, which permissions should /var/spool/lpd have?
Whatever the problem was, it works OK now. I don't know what it was doing before, but 'checkpc -f' fixes it up correctly now, it seems. For reference, on this system, my printcap is: =================== lp:hp6mp:lpd_bounce:sd=/var/spool/lpd/%P :sh:mx=0:mc=0 :lp=lp1@192.168.8.14 :filter=/usr/local/libexec/filters/ifhp :ifhp=model=hp6mp,status@ :force_ipaddr_hostname =================== and nothing else (not quite the same as before, but I am not in a position to check that configuration.) Hope this helps.
what is checkpc -f ?
'checkpc' is part of lprng, a utility for checking printcap configurations. 'checkpc -f' is used for fixing up permissions, creating missing files & directories, and so on. Among other things, it is supposed to take the ':sd=' value and build something that will work with lprng. So, a sequence something like checkpc -v -f /etc/init.d/lprng start lpc enable lpc start should have you printing (in my particular case, via 'lpr -B') and after 'emerge lprng-3.8.22.ebuild', for me that is just what it did.
added that info to the ebuild -> fixed :)