Terry Liittschwager wrote:

/etc/cups/printers.conf had:

DeviceURI: beh:/1/0/30/smb://JEAN/HPDESKJET

Definitely something strange - I can see why it had problems.

Using Firefox http:/localhost:631/printers brought up a display that included the comment "tree connect failed."

I used Configure Printer and changed to:

DeviceURI: smb://JEAN/HPDESKJET

Try changing it to lower case. smb://jean/hpdeskjet

That got rid of the error message. Using the Print Test Page resulted in it saying it was okay, but nothing arrived at the printer, so I went through the Modify Printer dialog. This resulted in a driver change, but that's okay.

It then said everything was ok and I tried the test page 5 times, but the jobs just piled up without getting to the printer. I went to the Jobs page and found them all there waiting, and there were no jobs listed as being completed. I deleted the waiting jobs.

At the moment, it's saying:

HP DeskJet 900 series - CUPS+Gutenprint v5.0.0-rc1      
Description: HP DeskJet 970C
Location:
Printer State: idle, accepting jobs.
"Gutenprint Printing page 1, 38%"
Device URI: smb://JEAN/HPDESKJET

and is stopped there.

Take a look in /var/log/cups/error_log - there should be some error
messages about this near or at the end of the file. This should help
us find the problem. Because you can print from smbclient, I suspect
that it is ether a name or permission problem when CUPS tries to
talk to the XP machine.

That business of http://localhost:631 is rather neat, which leads me to ask what other numbers are available and what they do?

It depends on what is installed. Different packages act as web
servers on different ports. I am not sure if there is a list of
them all.

  901 - SWAT
10000 - webmin

Also, can the relationship between samba and cups be expressed in one or two sentences.

And, wondering how to get this thing going, am I correct in believing that in using samba, I don't have to put anything on the WinXP machine but that if I were to try it just using cups, I would.

Also, for what it may be worth, smb4k reports that JEAN is the master. Could that be the problem? I've found that whichever machine boots first in the morning gets to be the master.

You can change this. If you are running Samba on the Linux machine,
you can configure it to always become the master. I am sure there is
a GUI way to do it, but I normally edit /etc/smb.conf. If you find
the section:

# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
#   os level = 33

and change the "#   os level = 33" line to "os level = 33" or
"os level = 34", then when the Linux machine boots, it will become
the master browser.

Mikkel
--

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
____________________________________________________
Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to