Win2k NOT print to SAMBA

Gerald (Jerry) Carter jerry at samba.org
Wed Oct 10 13:02:03 GMT 2001


Ji,

Samba-technical is for code development related discussions, etc...
Samba at samba.org is the general help list.  Forwarded there.




cheers, jerry

On Wed, 10 Oct 2001, Ji Tao wrote:

> Hello, Experts!
>
> Problem Description:
>
> I'm building a small home office networks using samba 2.2.1a on the file server named "SAMBA"
> SAMBA is based on RH7.1 linux.
> SAMBA has a Cannon BJ 200ex printer and a 30G HD.
> SAMBA has 2 normal user accounts "yangyang" and "jitao".
> I configured the samba to share user's home folder, and a public folder. They works fine.
>
> Then I want to share the printer, I setup the Cannon printer by the RH's printconf. It create
> a directory "/var/spool/lpd/cannon200ex", and a proper "/etc/printcap" file.
> The printer work good under RH Linux. Postscript and ASCII
> test passed.
>
> Then I add an entry [200ex] in the "/etc/samba/smb.conf" file. (Please read the attached
> full configuration)
>
> While I can browse the folders and the printer (it shows a correct name)
> through my win2000 professional. And I can add the 200ex as an network printer in the normal way.
>
> But the printing test is always wrong. and I can never print a page from notepad.
> The status of that network printer is always connetions failed in red.
>
> I can do anything with the home and public folder as I planed
> I have pass all tests of  DIAGNOSING.txt.
> I can even use Win2000 UNIX printing service to print to the Cannon 200 ex on SAMBA.( It create
> a local printer at an LPR port)
>
> "net use lpt3: \\samba\200ex" works fine on the win2000 client.
>
> What's the trick to get my win2000 print to SAMBA printer?
>
> Thank you all!
> Ji Tao
> jitao at touch-info.com
>
>
> My configurations below:
> ========================
> # Samba config file created using SWAT
> # from SOFTROCK (192.168.0.5)
> # Date: 2001/10/09 19:59:42
>
> # Global parameters
> [global]
>         workgroup = LINUXPACK
>         netbios name = SAMBA
>         server string = Samba File Server
>         interfaces = 192.168.0.1/24
>         security = user
>         bind interfaces only = yes
>         log file = /var/log/samba/log.%m
>         max log size = 100
>         debug level = 4
>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>         load printers = No
>         dns proxy = No
>         printing = bsd
>         code page = 936
> #
> #remote announce = 192.168.0.255
>         hosts allow = 192.168.0. 127.0.0.
>
> [homes]
>         comment = Home Directories
>         read only = No
>         browseable = No
>
> [public]
>         comment = Public Files Storage
>         path = /home/public
>         guest account = public
>         guest ok = yes
>         browseable = yes
>         writeable = yes
>         create mask = 0777
>
> [200ex]
>         comment = Cannon 200ex
>         path = /var/spool/lpd/cannon200ex
>         guest account = root
>         printer admin = root
>         read only = no
>         guest ok = yes
>         printable = yes
>         printer name = cannon200ex
>

-- 
 ---------------------------------------------------------------------
 www.samba.org              SAMBA Team              jerry_at_samba.org
 www.plainjoe.org                                jerry_at_plainjoe.org
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba-technical mailing list