SAMBA and CUPS problems
First, I have googled for hours on a solution to ths,and have tried many but
none have worked. I recently set up a machine solely as a print server using CUPS and an Epson Stylus C80. It works like a charm with my other linux boxes, but does not with my one WinXP box, the one most used by the family. Windows sees the printer, can add it to the printers area, and figure out what kind of printer it is easily. But when I actually go to print, I get this message: Unable to create a print job. I will post my relavent smb.conf and cupsd.conf in that order below Actually, I will just say that my cupsd.conf is normal, only changes being allowed browsing and unlimited access. Here is the smb.conf: [global] workgroup = mshome server string = %h server (Samba %v) wins support = yes ; wins server = w.x.y.z dns proxy = no ; name resolve order = lmhosts host wins bcast log file = /var/log/samba/log.%m max log size = 1000 ; syslog only = no syslog = 0 panic action = /usr/share/samba/panic-action %d security = share encrypt passwords = true passdb backend = tdbsam guest obey pam restrictions = yes guest account = smbprint Invalid users = root ; unix password sync = no passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . ; pam password change = no load printers = yes printing = cups printcap name = cups printing = cups printcap name = cups ; printer admin = @ntadmin ; preserve case = yes ; short preserve case = yes ; include = /home/samba/etc/smb.conf.%m socket options = TCP_NODELAY ; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' & ; domain master = auto ; idmap uid = 10000-20000 ; idmap gid = 10000-20000 ; template shell = /bin/bash #======================= Share Definitions ======================= [homes] comment = Home Directories browseable = no create mask = 0700 directory mask = 0700 ;[netlogon] ; comment = Network Logon Service ; path = /home/samba/netlogon ; guest ok = yes ; writable = no ; share modes = no [printers] comment = All Printers browseable = yes path = /var/spool/cups printable = yes public = yes writable = yes create mode = 0700 guest ok = yes use client driver = yes [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no ; write list = root, @ntadmin ;[cdrom] ; comment = Samba server's CD-ROM ; writable = no ; locking = no ; path = /cdrom ; public = yes ; preexec = /bin/mount /cdrom ; postexec = /bin/umount /cdrom The comments have been painfully removed for your viewing convienience :) Thanks in advanvce! |
Welcome to LQ.
What version of samba are you using? Try removing the line: use client driver = yes Then restart samba. |
for the version, I dont know exactly. It is installed via apt on testing, so I assume it is pretty new.
I tried your suggestion, and now I get the same error, but the difference being that as status in windows, I get Access Denied: Unable to Connect. Any other suggestions. And thanks for the welcome. I was a member here a while back, but forgot username/pass and have changed emails. Thanks in Advance! |
Hello, is the printer driver loaded on the XP machine? And is the printer itself added to "printers and faxes" with the path to your network printer via samba. Don't know if thiws matters, but have you mapped the samba server in XP so it shows up as a separate drive.? Does the printer show up there? ... hmmm that's all I can think of ...... cheers.
|
Quote:
|
OK. Hello again. I am looking at the famous Linux and Windows Shared Printing mini-HOW-TO that got my LAN set -up a while back. It is avail in many places, one of which is www.ibiblio.org/pub/Linux/docs/HOWTO .... It's dated but runs thru the Linux-Windows Print sharing with no frills ... hope it helps.
|
All times are GMT -5. The time now is 11:13 AM. |