Remi Dumont <[EMAIL PROTECTED]> writes: > Hi, > > I've got a little problem, trying to use lpr with my HP laserjet > 6L. Although I configured printcap and filters with apsfilter (the > printing of the test page worked fine !), each time I try (as root or as > normal user) to use lpr <file>, it answers: > > connection to 'localhost' failed - Connection refused > job 'cfA633Orion.localdomain.fr' transfer to [EMAIL PROTECTED] failed
Check the name and the permissions of the printqueque directory (both real and in /etc/printcap). I had the same problem and it was a configuration problem. > > I used to think my /etc/hosts and /etc/init.d/network were OK, > containing localhost (127.0.0.1) and its alias (Orion) but it must not > be so (everything was allright with redhat). > > "route" gives (when my ppp is off): > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > localhost * 255.255.255.255 UH 0 0 2 > lo > > And when, as root, I type "lpd", I've got no answer (as it would > work) and what's more, a glance at my processes) shows that lpd has not > been run. Try ps auxwww |grep lpd HTH, Jens -- [EMAIL PROTECTED] [EMAIL PROTECTED] KeyID: 2048/E451C639 1998/01/28 Print: 5F 3D 43 1E 24 1E CC 48 1E 05 93 3A A7 10 73 37 The Unix way of drinking tea: cat /dev/boiler/water | tea | sieve > /cup mount -t hdev /dev/human/mouth01 /mouth ; cat /cup >/mouth/gulp