You plug your printer to your linux box, and then modified the smb.config file that is in the /etc/samba/ (this is redhat9), the easies way to find the file is; in a terminal become super user and then do "locate smb.config". Edit it, here my samba config file
[global]
workgroup = QMAN-TXUN
guest ok = Yes
netbios name = SERVIDOR
load printers = yes
interfaces = eth0
; encrypt passwords = Yes
printcap name = cups
printing = cups
security = share
[publico]
comment = uso publico
path = /home/publico
guest ok = yes
writeable = yes
[homes]
valid users = %S
writeable = yes
browseable = No
[printers]
browseable = yes
printable = yes
guest ok = yes
create mode = 0700
; guest only = no
; guest account = usuario01
; path = /home/smbprint
By the way, you have to have samba running.
|