Can't Print
Hi,
On a standalone PC with no modem and therefore no Internet connection and RH 9.0 installed I am unable to get the printer to work.
On booting starting lpd I get:
--localhost Get_local_host: 'localhost' IP address not available!
The same message I get when trying to print a test page in printer-config.
I configured a simulated Internet connection, the problem remains.
I am an old RedHat hand so-to-speak and this is the first time I can't get the printer to work. On all previous installations the PCs had modems attached.
Could this be the problem that there is none. Would be strange so.
Thanks for any suggestions.
Regards
Signature · 7 lines
Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 11 lines · Peter H.
Hi,
On a standalone PC with no modem and therefore no Internet connection and RH 9.0 installed I am unable to get the printer to work.
On booting starting lpd I get:
--localhost
Get_local_host: 'localhost' IP address not available!The same message I get when trying to print a test page in printer-config.
Quoted 8 lines
I configured a simulated Internet connection, the problem remains.
I am an old RedHat hand so-to-speak and this is the first time I can't get the printer to work. On all previous installations the PCs had modems attached.
Could this be the problem that there is none. Would be strange so.
Thanks for any suggestions.
Well ... your question makes me realize that I've never, in 10 years, set up a Linux system that did not have a network connection (LAN or dialup). But ... lpd is a daemon that listens on TCP port 515, so it does need a TCP/IP stack running. Since you "configured a simulated Internet connection", I infer you are running a kernel with the necessary TCP/IP support.
Do you have an "lo" interface, and is it configured as 127.0.0.1/8 ?
Do you have an entry in /etc/hosts that resolves "localhost" to that address ... that is, a line like --
127.0.0.1 localhost
Just fishing here, really. You probably skipped some required step, but if it isn't one of the ones I mention, I cannot think what ti might be.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 2 lines · [email protected] said:
On a standalone PC with no modem and therefore no Internet connection and RH 9.0 installed I am unable to get the printer to work.
Thanks Ray!
In /etc/hosts I had to remove @localdomain from localhost@localdomain and lpd started and placing the print jobs nicely into the print queue, however, nothing is being printed.
On booting I get: Starting lp: Warning printer: cannot open '/dev/lp0' 'No such device or address'.
dmesg gives: lp: driver loaded but no device found.
lsmod shows: parport 2 (autoclean) [lp]
I have not an onboard parport but a singel parallel PCI card with chipset NM9805CV. It worked perfectly when I tried it on my other PC with slackware 9.1.
What have I to do that the device /dev/lp0 is found. It is in /dev/:
ls -l /dev/lp0
crw-rw---- 1 root lp 6, 0 Apr 28 1995 /dev/lp0
Regards
Signature · 9 lines
Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 22 lines · Peter
Quoted 1 line · [email protected] said:
On a standalone PC with no modem and therefore no Internet connection
and RH
Quoted 1 line
9.0 installed I am unable to get the printer to work.
Thanks Ray!
In
/etc/hostsI had to remove @localdomain from localhost@localdomain and lpd started and placing the print jobs nicely into the print queue, however, nothing is being printed.On booting I get: Starting lp: Warning printer: cannot open '
/dev/lp0' 'No such device or address'.dmesg gives: lp: driver loaded but no device found.
lsmod shows: parport 2 (autoclean) [lp]
I have not an onboard parport but a singel parallel PCI card with chipset NM9805CV. It worked perfectly when I tried it on my other PC with slackware 9.1.
Quoted 8 lines
What have I to do that the device
/dev/lp0is found. It is in/dev/:ls -l
/dev/lp0
crw-rw---- 1 root lp 6, 0 Apr 28 1995/dev/lp0Regards
--
Peter
Peter -- You will probably get a better answer later from someone who actually uses a parallel printer (mine uses Ethernet; it's been years since I set up a parallel printer on a Linux system) ... but I **think** you also need the module parport_pc to use a parallel printer.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Peter;
Fo what it's worth - I use a parallel-port printer (LaserJet 6L) and
$ lsmod | grep parport parport_pc 25608 1 (autoclean) parport 23336 1 (autoclean) [parport_pc lp]
So I think Ray is right and you are missing a module...
Quoted 45 lines · Ray Olszewski
Quoted 22 lines · Peter
Quoted 1 line · [email protected] said:
On a standalone PC with no modem and therefore no Internet connection
and RH
Quoted 1 line
9.0 installed I am unable to get the printer to work.
Thanks Ray!
In
/etc/hostsI had to remove @localdomain from localhost@localdomain and lpd started and placing the print jobs nicely into the print queue, however, nothing is being printed.On booting I get: Starting lp: Warning printer: cannot open '
/dev/lp0' 'No such device or address'.dmesg gives: lp: driver loaded but no device found.
lsmod shows: parport 2 (autoclean) [lp]
I have not an onboard parport but a singel parallel PCI card with chipset NM9805CV. It worked perfectly when I tried it on my other PC with slackware 9.1.
Quoted 8 lines
What have I to do that the device
/dev/lp0is found. It is in/dev/:ls -l
/dev/lp0
crw-rw---- 1 root lp 6, 0 Apr 28 1995/dev/lp0Regards
--
PeterPeter -- You will probably get a better answer later from someone who actually uses a parallel printer (mine uses Ethernet; it's been years since I set up a parallel printer on a Linux system) ... but I **think** you also need the module
parport_pcto use a parallel printer.-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Signature · 5 lines
- To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs