oarojo@intermediacorp.com
2002-Oct-17 09:18 UTC
[Samba] i can't print directly to my samba printer server...
Hi there Brian! I've seen your email on one of the samba mailing list. This has been my problem for a long time. I just want to share this problem directly to you and i hope you can lend me your help. I'm trying to setup windows printer sharing using SAMBA installed on my Linux box (Redhat 7.3 as printer server) and windows 2000 pro as my client. My win2k clients are connected to a Primary Domain Controller (PDC) running windows 2000 server. Domain name is "WWW". When trying to connect to the printer in WIn2k, I get a message saying: "The server for the printer does not have the correct printer driver installed.", giving me the choice of selecting a printer driver, or canceling the operation. I installed the HP Deskjet 710c printer driver on the win2k machine. After installation of the driver, "Access denied, unable to connect" appears next to the icon int the "Printers and Faxes" window. When I try to print to the network printer, I get a very general error message. However when i examine the samba logs, it says something like: [2002/10/17 15:05:58, 0] printing/printing.c:print_job_start(951) print_job_start: insufficient permissions to open spool file /var/spool/lpd/hp710c/smbprn.000018.32uUQe. I've already changed the mode of /var/spool/lpd/hp710c/ to 0777 and change file ownership to "root" instead of "lp" but it still didn't worked at all! By the way, here's my samba config: [global] workgroup = WWW netbios name = PRINTER SERVER security = SHARE encrypt passwords = Yes printing = bsd printcap name = /etc/printcap load printers = yes log file = /var/log/samba-log.%m lock directory = /var/lock/samba [printers] comment = All Printers security = server path = /var/spool/lpd/hp710c browseable = no printable = yes public = yes writable = no create mode = 0700 [HP710C] security = server path = /var/spool/lpd/hp710c printer name = hp710c writable = yes public = yes printable = yes print command = lpr -r -h -P %p %s user client drivers = yes and also my /etc/printcap file: hp710c:\ :ml=0:\ :mx=0:\ :sd=/var/spool/lpd/hp710c:\ :af=/var/spool/lpd/hp710c/hp710c.acct:\ :sh:\ :lp=/dev/lp0:\ :lpd_bounce=true:\ :if=/usr/share/printconf/util/mf_wrapper: Any help here would be greatly appreciated! Thanks! Oliver
oarojo@intermediacorp.com
2002-Oct-17 09:19 UTC
[Samba] i can't print directly to my samba printer server...
Please Help! I'm trying to setup windows printer sharing using SAMBA installed on my Linux box (Redhat 7.3 as printer server) and windows 2000 pro as my client. My win2k clients are connected to a Primary Domain Controller (PDC) running windows 2000 server. Domain name is "WWW". When trying to connect to the printer in WIn2k, I get a message saying: "The server for the printer does not have the correct printer driver installed.", giving me the choice of selecting a printer driver, or canceling the operation. I installed the HP Deskjet 710c printer driver on the win2k machine. After installation of the driver, "Access denied, unable to connect" appears next to the icon int the "Printers and Faxes" window. When I try to print to the network printer, I get a very general error message. However when i examine the samba logs, it says something like: [2002/10/17 15:05:58, 0] printing/printing.c:print_job_start(951) print_job_start: insufficient permissions to open spool file /var/spool/lpd/hp710c/smbprn.000018.32uUQe. I've already changed the mode of /var/spool/lpd/hp710c/ to 0777 and change file ownership to "root" instead of "lp" but it still didn't worked at all! By the way, here's my samba config: [global] workgroup = WWW netbios name = PRINTER SERVER security = SHARE encrypt passwords = Yes printing = bsd printcap name = /etc/printcap load printers = yes log file = /var/log/samba-log.%m lock directory = /var/lock/samba [printers] comment = All Printers security = server path = /var/spool/lpd/hp710c browseable = no printable = yes public = yes writable = no create mode = 0700 [HP710C] security = server path = /var/spool/lpd/hp710c printer name = hp710c writable = yes public = yes printable = yes print command = lpr -r -h -P %p %s user client drivers = yes and also my /etc/printcap file: hp710c:\ :ml=0:\ :mx=0:\ :sd=/var/spool/lpd/hp710c:\ :af=/var/spool/lpd/hp710c/hp710c.acct:\ :sh:\ :lp=/dev/lp0:\ :lpd_bounce=true:\ :if=/usr/share/printconf/util/mf_wrapper: Any help here would be greatly appreciated! Thanks! Oliver