RE: [SLE] Windows cannot print to a CUPS printer shared via SAMBA
I have shared the printer via samba (initially set up with SWAT), but I can't find the magic comination of settings. If it matters, I have SMB file sharing working fine, so at least that much of SAMBA is ok.
Please read: /usr/share/doc/packages/cups/README.SuSE from the cups-libs package. I'm pretty sure it will solve your windows->samba->cups printing problem. Good luck, -jrh
On Monday 09 September 2002 16:40, John Ross Hunt wrote:
I have shared the printer via samba (initially set up with SWAT), but I can't find the magic comination of settings. If it matters, I have SMB file sharing working fine, so at least that much of SAMBA is ok.
Please read: /usr/share/doc/packages/cups/README.SuSE from the cups-libs package. I'm pretty sure it will solve your windows->samba->cups printing problem.
For the uninitiated those are: printing = cups print command = /usr/bin/lpr -o raw -P%p -r %s lpq command = /usr/bin/lpstat -o%p lprm command = /usr/bin/cancel %p-%j queuepause command = /usr/bin/disable %p queueresume command = /usr/bin/enable %p load printers = no I tried various combinations of the directives in that file and still nothing works (Win2k gives errors about there being something wrong with the network, which isn't really correct). BTW all those look to me like global settings, and I notice it makes no suggestions about what to put in the [printers] section If _anyone_ has a working CUPS printer shared via samba, and you are able to print to it from Win2k, would you please send me a copy of your smb.conf, or at least the parts relevant to printing. I'm sorry to make such a lame request but I've never been so sutmped by anything :-/ JW
JW wrote:
For the uninitiated those are:
printing = cups print command = /usr/bin/lpr -o raw -P%p -r %s lpq command = /usr/bin/lpstat -o%p lprm command = /usr/bin/cancel %p-%j queuepause command = /usr/bin/disable %p queueresume command = /usr/bin/enable %p load printers = no
I tried various combinations of the directives in that file and still nothing works (Win2k gives errors about there being something wrong with the network, which isn't really correct). BTW all those look to me like global settings, and I notice it makes no suggestions about what to put in the [printers] section
If _anyone_ has a working CUPS printer shared via samba, and you are able to print to it from Win2k, would you please send me a copy of your smb.conf, or at least the parts relevant to printing.
Try running testparm. I can remember having problems, and it told me to add oplocks = yes to the printer share, IIRC. I am sharing a cups printer via samba to our office lan, and though we don't have any W2K, XP prints with no problems. -- Joe & Sesil Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace God, I am what I am.
On Friday 27 September 2002 19:09, Joe & Sesil Morris (NTM) wrote:
Try running testparm. I can remember having problems, and it told me to add oplocks = yes to the printer share, IIRC.
I have run testparm, it did not give me any hints.
I am sharing a cups printer via samba to our office lan, and though we don't have any W2K, XP prints with no problems.
Would you mind sending me the relevent sections of your smb.conf ? Thanks, JW
[global] printing = cups [LJ2200] comment = HP Lajerjet 2200D path = /var/tmp read only = No create mask = 0600 printable = Yes printer name = LJ2200 JW wrote:
Would you mind sending me the relevant sections of your smb.conf ?
-- Joe & Sesil Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace God, I am what I am.
On Monday 09 September 2002 16:40, John Ross Hunt wrote:
I have shared the printer via samba (initially set up with SWAT), but I can't find the magic comination of settings. If it matters, I have SMB file sharing working fine, so at least that much of SAMBA is ok.
Please read: /usr/share/doc/packages/cups/README.SuSE from the cups-libs package. I'm pretty sure it will solve your windows->samba->cups printing problem.
I have an installation of Samba that uses CUPS for printing. The system runs Suse 7.3 i386, Samba 2.2.1, CUPS 1.1.10 and the only thing I have set in smb.conf global section for printing is printing = cups And works fine for NT4 and Win9x clients. Samba is also acting as domain master. Hope this helps. --Jyry C:-( C:-/ C========8-O C8-/ C:-(
participants (4)
-
Joe & Sesil Morris (NTM)
-
John Ross Hunt
-
JW
-
Jyry Kuukkanen