LPRng question

Gerry Maddock gerrym at futuremetals.com
Fri May 12 12:51:23 GMT 2000


Here is a copy of the permisions for /var/spool/lpd/nero if this helps:
drwx------   2 daemon   root         1024 May 12 07:51 nero

-rw-------   1 daemon   root         1038 May 12 07:51 acct
-rw-------   1 daemon   root            0 May 11 15:47 control.nero
-rw-------   1 daemon   root          776 May 12 07:51 log
-rw-------   1 daemon   root            6 May 12 07:51 nero
-rw-------   1 daemon   root            0 May 11 15:47 status
-rw-------   1 daemon   root         8582 May 12 07:51 status.nero
-rw-------   1 daemon   root            6 May 12 07:51 unspooler.nero

Gerry Maddock wrote:

> <It seems that the print command is trying to find the printer at
> location 'localhost'.  Since this is a network printer it is not at
> localhost is it?>
>
> Yeah, the error messages made no sense to me either!
>
> Well, like I said earlier: < The IP address of this printer is 10.1.1.192. I
> call this
>  printer nero, and have it listed in my /etc/hosts file>
>
> Here is a copy of part of my host file:
> 127.0.0.1  localhost localhost.localdomain
> 10.1.1.190   penguin.futuremetals.com penguin
> 10.1.1.192  nero
>
> Now, I'm not getting any error messages, but nothing prints!!!!! Nothing in
> the queue! I'm still able to telnet into port 9100, type some sentences,
> then do the [ctrl] [l] and the printer prints what I just typed!
>
> Thanks for helping Russ!! - if you need any other info, let me know.
>
> Russ Brewer wrote:
>
> > It seems that the print command is trying to find the printer at
> > location 'localhost'.  Since this is a network printer it is not at
> > localhost is it?
> >
> > What are your '/etc/hosts' file entries for localhost and nero?
> >
> > I think your problem may be that your computer does not know what nero's
> > ip address is and so its guessing its at localhost.  But isn't your
> > local host address something like 127.0.0.1?
> >
> > Russ Brewer
> >
> > Gerry Maddock wrote:
> > >
> > > I've been trying to get LPRng to work lately, but nothings happening.
> > > Here's the facts: The test printer for this is an HP8000 w/jetdirect
> > > port. The IP address of this printer is 10.1.1.192. I call this
> > > printer nero, and have it listed in my /etc/hosts file. I'm running
> > > LRng-3.6.12-1, and ifhp-3.3.10-1 on a RH6.0 sys running Samba v.2.05a.
> > > I was not able to print via samba, so I tried
> > > lpr /etc/ifhp.conf  and recieved the following errors:
> > > Status Information:
> > >  sending job 'root at penguin+512' to nero at localhost
> > >  connecting to 'localhost', attempt 1
> > >  connected to 'localhost'
> > >  requesting printer nero at localhost
> > >  sending control file 'cfA512penguin.futuremetals.com' to
> > > nero at localhost
> > >  error 'LINK_TRANSFER_FAIL' sending file
> > > 'cfA512penguin.futuremetals.com' to nero at localhost
> > >  job 'root at penguin+512' transfer to nero at localhost failed
> > >
> > > I know the networking is good, b/c I telnet to port 9100 on the
> > > printer, typed this is a test, then hit [ctrl] [l] to put out a form
> > > feed, and that worked. PLEASE HELP ME!!!!!!!!
> > > Below is a copy of my /etc/printcap
> > > nero:\
> > >  :lp=nero%9100\
> > >  :of=/usr/libexec/filters/ifhp\
> > >  :if=/usr/libexec/filters/ifhp\
> > >  :sd=/var/spool/lpd/nero\
> > >  :sh:sf
> > >
> > > PS: I've already run checkpc.
> > >



More information about the samba mailing list