<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@penguin+512' to nero@localhost > > connecting to 'localhost', attempt 1 > > connected to 'localhost' > > requesting printer nero@localhost > > sending control file 'cfA512penguin.futuremetals.com' to > > nero@localhost > > error 'LINK_TRANSFER_FAIL' sending file > > 'cfA512penguin.futuremetals.com' to nero@localhost > > job 'root@penguin+512' transfer to nero@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. > >
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@penguin+512' to nero@localhost > > > connecting to 'localhost', attempt 1 > > > connected to 'localhost' > > > requesting printer nero@localhost > > > sending control file 'cfA512penguin.futuremetals.com' to > > > nero@localhost > > > error 'LINK_TRANSFER_FAIL' sending file > > > 'cfA512penguin.futuremetals.com' to nero@localhost > > > job 'root@penguin+512' transfer to nero@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. > > >
That worked Thanks!!!! ----Your the man Ronnie!!!! I owe you a beer!!!!! Thanks everyone for your help!!!! Ronnie.N.Glasscock@bridge.bellsouth.com wrote:> First, I don't use Samba, so I can't say how that will fit in. > > I use Slackware, versions from 1997&98 > LPRng has been working ok > > Suggestions... > > Try something like this in your /etc/printcap. > Make sure the name you use for rm= is a name that you can ping. > (Either through /etc/hosts, DNS or what ever.) > > # > nero:sd=/var/spool/lpd/nero:tr\f:if=your_filter:rm=nero:sh > # > > **** Note nero has to be a valid name that you can ping, (will resolve). > > Another suggestion, if you are not 100% sure of your filter, send a flat ascii > file and don't use a filter. > Once you can print ascii, then try your filter. > > Anyone have a simple filter that will resolve the \n\r between UNIX & DOS? > > Good luck. > > --------------------------------------------------------------------------- > Brought to you by the Florida Linux User Xchange, FLUX. > Visit our webpage at: http://www.flux.org > Mailing list subscription issues: http://www.flux.org/members/list.html