I have tried that, but it just doesn't seem to work. I've edited the netbios name, workgroup, made sure the printer's name is identical in both OS on the dual-booter, still nothing. I'll try to outline everything I have done so far and then post my smb.conf.
1. The printer is connected via usb to the dual booting win/linux box that I wish to use as a print server.
2. The Print Server is named "e1505" under windows. I added this under the "global" section in samba.conf: netbios name = e1505
3. Under windows, the printer is named Deskjet935c. I set this up with control panel>printers and faxes. Under linux, I followed the CUPS printer installation through
http://localhost:631 and named the printer Deskjet935c.
4. I have made sure that both windows and linux run the same static ip on the server
5. On the windows boxes; I can see the printer when the server is in windows by doing add printer: \\E1505\Deskjet935c
6. On the windows boxes; I can see the printer when the server is in linux by doing add printer: http://<local server address>:631/printers/Deskjet935c
Here is my smb.conf:
Code:
[global]
workgroup = MSHOME
server string = E1505
password level = 8
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = lpstat
dns proxy = No
hosts allow = 192.168.1.64
printing = cups
print command =
lpq command = %p
lprm command =
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r
browseable = No
[print$]
path = /var/lib/samba/printers
write list = @adm, root
[pdf-generator]
comment = PDF Generator (only valid users)
path = /var/tmp
printable = Yes
print command = /usr/share/samba/scripts/print-pdf %s ~%u \\\\\\\\%L\\\\%u %m %I &
[Agustin]
comment = Agustin Private Files
path = /home/agustin/Documents
valid users = agustin
read only = No