I am getting a very similar problem as cezarn. I have Mandrake 9 on one machine, and WinXP on the other. My printer is an HP DeskJet 712C and is attached to the Linux machine. Local printing works fine.
Like cezarn said, I can see the printer in the "my network places" in WinXP; it's listed under my Linux machine. When I go to add the printer in WinXP, I get a message saying:
"The server for your printer does not have the correct printer drivers installed. If you want to search for the proper driver, click OK. Otherwise, click cancel and contact your network admin for the correct driver."
After clicking OK, I get a list of manufacturers and models. I choose the appropriate driver, and click ok. The printer is now added, and the status is listed as "ready".
I try printing from notepad, and I get an error message: "A StartDocPrinter call was not issued." and nothing prints. In MS Word, the printer status is listed as "idle". I try printing, and I get a different error message:
"Windows cannot print due to a problem with the current printer setup. Try one or more of the following:
Try printing a test page from windows.
Make sure the printer is turned on and is online.
Reinstall the printer driver."
Here is my /etc/samba/smb.conf file:
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2003/12/23 23:27:24
# Global parameters
[global]
workgroup = SCHWARTZ
netbios name = MANDRAKE
server string = Linux Box
security = DOMAIN
encrypt passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
dns proxy = No
printing = cups
[homes]
comment = Home Directories
read only = No
browseable = No
[Profiles]
path = /var/lib/samba/profiles
guest ok = Yes
browseable = No
[printers]
comment = All Printers
path = /home/smbprint
guest account = smbprint
create mask = 0700
guest only = Yes
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
use client driver = Yes
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 &
[DJ712C]
comment = HP DeskJet 712C
path = /home/smbprint
guest account = smbprint
read only = No
create mask = 0700
guest only = Yes
guest ok = Yes
hosts allow = 192.168.0., 127.0.0.
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
printer name = DJ712C
use client driver = Yes
oplocks = No
Any help is greatly appreciated, as this is a very frustrating issue.
Thanks,
Morgan
|