Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2002 17:35:26 -0300
From:      Ronan Lucio <ronanl@melim.com.br>
To:        freebsd-questions@freebsd.org
Subject:   LPD
Message-ID:  <20020611173526.3b0387e5.ronanl@melim.com.br>

next in thread | raw e-mail | index | archive | help
Hello,

I'm having a problem with lpd.

I reinstalled a FreeBSD-4.5 box that must have a printer queue
on another AIX Server sends the jobs from it's (AIX) queue to
be printed.

Ok, hown I have never figured out a print queue, I have just
copied the configurations from the old (FreeBSD-3.2) server.

The problem is: When a computer sends a job to the queue, it
prints perfectly, but the file /var/spool/lpd/<queue>/lock
isn't been removed... :-/

When I remove lock file manualy, it prints normaly once again
and don't remove lock file.

I've copied the follow files:
/etc/princap
/etc/hosts.allow
/etc/hosts.lpd
/usr/lib/lp/filters (and it's contents)

I have also needed to create the directories:
/var/spool/lpd/lp
/var/spool/lpd/ra1-14
/var/spool/lpd/ra1-15
/var/spool/lpd/ra1-16
/var/spool/lpd/spo

Printcap file has the follow contents:
#--- Begin printcap file ---
#
lp|local line printer:\
        :lp=/dev/lpt0:sd=/var/spool/lpd/lp: \
        :mx#0:so:sh:sb:of=/usr/lib/lp/filters/filter:sf

ra1-14|ra1 printer:\
        :lp=/dev/null:sd=/var/spool/lpd/ra1-14: \
        :mx#0:so:sh:sb:of=/usr/lib/lp/filters/ra1-14:sf

ra1-15|ra1 printer:\
        :lp=/dev/null:sd=/var/spool/lpd/ra1-15: \
        :mx#0:so:sh:sb:of=/usr/lib/lp/filters/ra1-15:sf

ra1-16|ra1 printer:\
        :lp=/dev/null:sd=/var/spool/lpd/ra1-16: \
        :mx#0:so:sh:sb:of=/usr/lib/lp/filters/ra1-16:sf

spo:\
        :mx#0:rm=spo:rp=lp:sd=/var/spool/lpd/spo:
#
#--- End printcap file ---


What can causing it?

Thank's
Ronan

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020611173526.3b0387e5.ronanl>