Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!t30g2000vbx.googlegroups.com!not-for-mail From: bmearns Newsgroups: comp.protocols.smb Subject: Printing Error "Cannot open printer handle" Date: Sun, 8 Jan 2012 13:08:06 -0800 (PST) Organization: http://groups.google.com Lines: 48 Message-ID: <610e8d4a-2689-4efc-9c0f-2ee22fb40963@t30g2000vbx.googlegroups.com> NNTP-Posting-Host: 209.6.48.206 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1326056887 13461 127.0.0.1 (8 Jan 2012 21:08:07 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 8 Jan 2012 21:08:07 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t30g2000vbx.googlegroups.com; posting-host=209.6.48.206; posting-account=70b87AoAAACyR66BmpytEbZ2VcVsYqsy User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux i686; rv:9.0.1) Gecko/20100101 Firefox/9.0.1,gzip(gfe) Xref: x330-a1.tempe.blueboxinc.net comp.protocols.smb:5 I'm trying to share a CUPS printer connected to a Linux box with a Windows XP machine. The printer works fine locally, and I can see it in the network brower from the XP machine, but when I get an error when I try to open it on the XP machine, so I can't print from it. I'm able to access (read and write) my other samba shares. When I try to open the printer on the XP, I have to pick the driver, but then after I do that, I get an error window (on XP) shaying "Windows cannot connected to the printer. Either the printer name was typed incorectly, or the specified printer has lost its connection to the server." I check the samba error_log for this machine and it says: [2012/01/08 15:27:47.443415, 0] rpc_server/spoolss/srv_spoolss_nt.c: 1747(_spoolss_OpenPrinterEx) _spoolss_OpenPrinterEx: Cannot open a printer handle for printer \ \freyja (freyja is the name of the linux box). There are no errors in the CUPS error_log. I'm using smbd Version 3.6.1-77.fc16. Can anyone suggest what might be wrong, or any steps I can take to trouble shoot this? Thanks, -Brian P.S. The relevant portions of smb.conf: ###################################### [global] load printers = yes cups options = raw printing = cups printcap name = cups [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = yes writable = no printable = yes use client driver = yes