Groups | Search | Server Info | Login | Register


Groups > comp.protocols.smb > #5

Printing Error "Cannot open printer handle"

From bmearns <mearns.b@gmail.com>
Newsgroups comp.protocols.smb
Subject Printing Error "Cannot open printer handle"
Date 2012-01-08 13:08 -0800
Organization http://groups.google.com
Message-ID <610e8d4a-2689-4efc-9c0f-2ee22fb40963@t30g2000vbx.googlegroups.com> (permalink)

Show all headers | View raw


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


Back to comp.protocols.smb | Previous | NextNext in thread | Find similar


Thread

Printing Error "Cannot open printer handle" bmearns <mearns.b@gmail.com> - 2012-01-08 13:08 -0800
  Re: Printing Error "Cannot open printer handle" chucobo5219@gmail.com - 2013-03-15 00:04 -0700

csiph-web