I can see the printers on the windoz machines and when I try to do a
test print there are no error messages on either machine. I am
attaching my smb.conf for any ideas. My wife has a project she has to
print ASAP, so if I don't get it fixed soon I will have to hook the
printer directly. TIA.
Josh Freeman wrote:
>
> the one time I had this type of problem was when the print commands in the
> smb.conf file were wrong. There are some lines in there that list out what
> the smb daemon does to call the print daemon. At least in one RedHat distro,
> they were wrong. Not sure if it is a REdHat problem or a Samba Problem.
> Here's what to do:
>
> * make sure that the windoze machine sees the printer.
> * Send a print job to the printer
> * Look in Samba's print spool, which is something like /var/spool/samba.
> Check your smb.conf file
>
> * if there are files there, Windows is fine. You need to change the print
> command in the config file. The easy way to do this is to attempt to execute
> what Samba lists as the print command, and see what happens. In my case,
> there was a switch to the print command that was not valid for my version of
> lp.
>
> * If not, the printer is set up wrong in Windows or the permissions are
> wrong on the spool.
>
> Hope this helps
>
> Josh
[global]
netbios name = server
workgroup = local
guest account = nobody
keep alive = 30
os level = 2
security = user
share modes = yes
; Uncomment the following, if you want to use an existing
; NT-Server to authenticate users, but don't forget that
; you also have to create them locally!!!
; security = server
; password server = 192.168.1.10
; encrypt passwords = yes
printing = bsd
printcap name = /etc/printcap
load printers = yes
socket options = TCP_NODELAY
map to guest = Bad User
; Uncomment this, if you want to integrate your server
; into an existing net e.g. with NT-WS to prevent nettraffic
; local master = no
; Please uncomment the following entry and replace the
; ip number and netmask with the correct numbers for
; your ethernet interface.
; interfaces = 192.168.1.1/255.255.255.0
; If you want Samba to act as a wins server, please set
wins support = yes
; wins support = no
; If you want Samba to use an existing wins server,
; please uncomment the following line and replace
; the dummy with the wins server's ip number.
; wins server = 192.168.1.1
; Do you wan't samba to act as a logon-server for
; your windows 95/98 clients, so uncomment the
; following:
; logon script =%U.bat
; domain logons = yes
domain master = yes
local master = yes
preferred master = yes
os level = 65
; [netlogon]
; path = /netlogon
[homes]
comment = Home
browseable = no
read only = no
create mode = 0660
; The following share gives all users access to the Server's CD drive,
; assuming it is mounted under /cd. To enable this share, please remove
; the semicolons before the lines
;
; [cdrom]
; comment = Linux CD-ROM
; path = /cd
; read only = yes
; locking = no
[printers]
comment = All Printers
browseable = yes
printable = yes
public = yes
read only = yes
create mode = 0700
directory = /tmp
[userdata]
comment=All user data
path = /data
browseable = yes
writeable = yes
read only = no
create mode = 0770
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.