On Sun 18 Dec 2005 16:16, Mikkel L. Ellertson wrote:
> Anne Wilson wrote:
> > Check out /etc/cups/client.conf.  It should contain a line similar
> > to ServerName 192.168.0.30
> >
> > Anne
>
> Anne,
>   I think this is only for remote CUPS clients, not remote Windows
> printers.  I suspect that what
> is needed here is something like:
>
> <Printer HP Deskjet>
> Info HP Deskjet printer
> Location Jean's XP machine
> DeviceURI smb://jean/hpdeskjet
> State Idle
> Accepting Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> </Printer>
>
> But I would use CUPS to create it in any case.
>
> Mikkel

etc/cups/client.conf has:

#ServerName myhost.domain.com

so it would appear client.conf is unused; it's all just comments.

/etc/cups/printers.conf had:

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

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

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.

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

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.

Terry
____________________________________________________
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