FW: RE: RE: [Samba] Win2k Printing Problems
Van Sickler, Jim
vansickj-eodc at Kaman.com
Wed May 15 10:50:02 GMT 2002
From: JUSTIN GERRY [mailto:JGERRY at butchers.com]
Sent: Wednesday, May 15, 2002 10:33 AM
To: vansickj-eodc at Kaman.com
Subject: Re: RE: RE: [Samba] Win2k Printing Problems
No my ports are:
servername (ip address in my case as I am going across a router)
print server (actual printcap name)
When I add a printer to a Win2k box, in the registry under
I get a printer name, within the printer name there is a key called
"Port", this key gets assigned to:
Win2k does not create a printer queue under any of the "Monitors"
section therefore it can locally spool anything.
The port name is invalid!!
It NEEDS to add a printer queue (or perhaps a the proper term is a
"pointer" to a printer queue) under:
It just looks like Win2k is unable to handle creating the queue under
lpr section (or any other folder in monitors) when you automatically add
a printer from a Samba box. The /s prevent this somehow. I know that if
I export a reg file from the monitors section and try to change it to
get the slashes to appear correctly on how the port name is listed and
try to import it, the registry key does not get imported properly.
In order for me to print from my Win2k box:
1) I need to manually create the port with Win2k by adding a printer to
the local machine and then selecting "create new port" of the lpr type,
it is here that I enter the servername and printer_queue name. Once this
is added I have to change the "port" settings under the "Printers"
section (listed above) to servername:printer_queue instead of
It works, but I know it is complete bandaid fix. I would like to know
if there is some way to get the real windows port of some sort to be
created. I am curious if the enumports command could help me in some way
by listing some artifical ports (perhaps of the same name as the real
queue on the linux box) and maybe the Win2k will pick this up somehow on
>>> "Van Sickler, Jim" <vansickj-eodc at Kaman.com> 05/15 12:04 PM >>>
Did you use the IP address of the printer as the lpr port?
If so, you're bypassing samba and printing
directly to the printer.
I'm not sure where the /'s are located. The MS
doc mentions the LPD queue name; if yours has
/ in it somewhere, try renaming it so that it
doesn't and see if the error message goes away.
> -----Original Message-----
> From: JUSTIN GERRY [mailto:JGERRY at butchers.com]
> Sent: Wednesday, May 15, 2002 6:53 AM
> To: vansickj-eodc at Kaman.com; ZCHBDBAXIQPE at spammotel.com
> Cc: samba at lists.samba.org
> Subject: Re: RE: [Samba] Win2k Printing Problems
> Yes, it is exactly that problem.
> I added the port (lpr) through the printer setup and re-linked the
> printer (manually changed the port to match the new port) that did
> have a port listed through the registry and it works fine
> (finally!!...thank you!!)
> The /'s are messing up Win2k and it won't add a lpr port to the
> machine. Is there any potential fix for this problem?
> Would the enumports command in smb.conf help at all?
> >>> "Van Sickler, Jim" <vansickj-eodc at Kaman.com> 05/14 5:30 PM >>>
> Take a look at this link:
> > -----Original Message-----
> > From: JUSTIN GERRY [mailto:JGERRY at butchers.com]
> > Sent: Tuesday, May 14, 2002 1:48 PM
> > To: ZCHBDBAXIQPE at spammotel.com
> > Cc: samba at lists.samba.org
> > Subject: Re: [Samba] Win2k Printing Problems
> > Microsoft file and print sharing is already installed.... not sure
> > that would make any difference....but Microsoft stuff is
> > Still no luck with the "Failed to open,retrying" on the queue and
> > can't see any of the jobs listed in the queue. I can print, but I
> > this message repeatedly until the print job is done.
> > If anyone else has any suggestions for this problem, please let me
> > know.
> > Thanks,
> > justin
> > >>> Joern Knechtel <ZCHBDBAXIQPE at spammotel.com> 05/13 8:35 PM >>>
> > > I can now print to my network printers (although one of them
> > > printing a banner page... could be a jetdirect issue), but I
> > get
> > > the "Failed to open,retrying" on the queue and I can't see any
> > the
> > > jobs listed in the queue. Once the print job clears, the error
> > message
> > > goes away.
> > >
> > > Any more suggestions?
> > Hmm...try installing MS print & share services on the client if u
> > havent done that already.
> > Just to see what happens :-)
> > cu
> > jk
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba