[linux-help] Re: RH-7.2 Printer -
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Bob Goodwin wrote:
> This is a simple local printer and I have been trying to test it with
> the printtool ascii test
> or just ls | lpr.
>
A LOCAL printer does not rely on the network at all.
These symptoms lead me to believe that print spooler for lp0 is defined
as a network printer.
I would trouble shoot this by first using the gui printtool and removing
the definitions for ALL printers. Restart lpd as the last step of this.
Then go to /var/spool/lpd and remove everything under there if there is
anything remaining.
finally, rerun the printtool and define a new printer making sure it is
set as a local printer when defining it.
NOTE: As part of setting up the printer you MUST select a driver. I
recently set up one and failed to define the driver. I had similar
results in that it printed (apparently) but nothing was actually sent to
the printer.
When I went back and edited the configuration to put in the
driver it then worked perfectly.
> cat /etc/sysconfig/network produces this -
>
> NETWORKING=yes
> HOSTNAME=localhost.localdomain
>
> And my command line prompt becomes -
>
> [root@x1-6-00-04-5a-75-69-1e root]#
>
> Ugly if nothing else and it uses too much space on the line.
> It is essentially the hardware address shown in ifconfig.
>
> Now I can change HOSTNAME=box1
>
> And the long hex number at the command prompt becomes box1
> which is what I would prefer to call this computer once I get my
> switch back from Linksys.
>
> If I set
>
> NETWORKING=no
>
> my dhcp connection to the cable goes away. That seems reasonable?
>
> But with this HOSTNAME [localhost.localdomain] the print function
> complains about a bad hostname, and I observe that when starting Window Maker
> [startx]
> a message flies past "unknown host" -
>
> [root@x1-6-00-04-5a-75-69-1e root]# lpd
> 2002-08-19-15:32:28.107 Get_local_host: hostname 'x1-6-00-04-5a-75-69-1e' bad
>
> If I change the HOSTNAME to box1 the print function lpd no longer protests
> about
> the "bad" name but no data seems to reach the printer in either case.
>
> These problems came about after I last installed RH-7.2 from the CD set I
> purchased from BestBuy
> and which worked without a hitch before. In fact the system is near perfect
> except for the
> inconvenience of not being able to print and I don't know enough to
> troubleshoot it properly. It seems
> that I have something messed up in an initialization file but I can't find it.
>
> The reinstallation came about after I lost a lot of equipment in a lightning
> stroke! Originally I had
> box1 networked with box2 via a Linksys 5 port switch and the whole mess
> worked nicely.
>
> If you can make any sense out of these symptoms? I read and try to
> apply everything sent me ...
>
> Thanks.
>
> Bob G
>
> -- This is the linux-help@xxxxxxxxx list. To unsubscribe,
> visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
>
--
Jeff Vian
jvian10@xxxxxxxxxxx
-- This is the linux-help@xxxxxxxxx list. To unsubscribe,
visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
|
|