et wrote:

On Wednesday 12 January 2005 06:10 am, Alan Dunford wrote:


Anne Wilson and Ed Tharp wrote:


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 11 Jan 2005 10:58, et wrote:


On Monday 10 January 2005 01:52 pm, Alan Dunford wrote:


Hi,

Here we have an annoying problem getting CUPS/Windows to print.  The
setup is a Linux box running Mandrake 10.0 Official and a Windows box
running XP Home edition.  The printer on the Windows box is an old
Canon  BJC250 which is not a problem in itself.

Now CUPS  on the Linux box of course appears to be set up correctly with
the Windows IP address recognised as also is the Canon printer.  When I
sent a test page to the Windows machine I get a message that the page
has been sent BUT there is no such message in the Window print queue.
The in-built Windows firewall is off.

Print from the Windows machine itself is ok and the problem therefore
seems to lie between my Linux box and the Windows machine.

Any ideas please as I am rapidly losing what is left of my hair. :-)


does the linux box /etc/hosts, /etc/host.allow and /etc/hosts.deny and
windows box c:\hosts files correctly name the other box?


Also check /etc/cups/client.conf, particularly for

# ServerName: the hostname of your server.  By default CUPS will use the
# hostname of the system or the value of the CUPS_SERVER environment
# variable.  ONLY ONE SERVER NAME MAY BE SPECIFIED AT A TIME.  To use
# more than one server you must use a local scheduler with browsing
# and possibly polling.
#

#ServerName myhost.domain.com

Put the windows box name into that line, if it's not already there.

Anne


Thanks to both for the above comments.

The changes suggested have now been made/checked with no improvement.
The appropriate lines are shown below:-

"router"  is the gateway connected to my cable modem
"windows" is the box running XP and is the print server
"linux"  runs my CUPS server and is my main workstation
"server" is  a backup machine on the network
"foxsys" is the domain

/etc/hosts

127.0.0.1        localhost
192.168.0.1        router.foxsys    router
192.168.0.2        windows.foxsys    windows
192.168.0.3        linux.foxsys     linux
192.168.0.4        server.foxsys    server

/etc/hosts.allow

127.0.0.1    localhost
192.168.0.1    router.foxsys    router
192.168.0.2    windows.foxsys    windows
192.168.0.3    linux.foxsys    linux
192.168.0.4    server.foxsys    server

/etc/hosts.deny

(blank)


/etc/cups/client.conf

#
# ServerName: the hostname of your server.  By default CUPS will use the
# hostname of the system or the value of the CUPS_SERVER environment
# variable.  ONLY ONE SERVER NAME MAY BE SPECIFIED AT A TIME.  To use
# more than one server you must use a local scheduler with browsing
# and possibly polling.
#

ServerName 192.168.0.2    windows.foxsys



Windows c:\system32\hosts contains the line:-

192.168.0.3   linux.foxsys      #linux


My one doubt is the entry in /etc/cups/client.conf which I _think_ is ok but should this have the entry "ServerName" ahead of the IP address etc?

So you  can see I am still at a loss to explain the cause of the problem
- any further thoughts would, of course, be welcome - the alternative I
face is either reconnecting the printer or putting another one on the
linux box.

Thanks again for any  further ideas. :-[




did you do a "service network restart" on the linux boxes and a reboot on the windows boxes?






Thanks both for your comments - have rebooted windows and restarted the network also with no change, Ed. Will edit the lines in the various conf files, Anne.

Onward and upward - one way I suppose to spend a winter's morning (or maybe week). :-)

Just by the way for some unaccountable reason, mail server would not accept a normal "reply to" and bounced my earlier reply - will try again. - this is a new message.

Regards

--


Alan Dunford [EMAIL PROTECTED] Mandrake Linux 10.0 Official A 100% Microsoft-free computer Sent via Thunderbird - an Open Source mailer



____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to