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 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers I get a printer name, within the printer name there is a key called "Port", this key gets assigned to: \\servername\printer_queue 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: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors 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 \\servername\printer_queue 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 an install. -Justin >>> "Van Sickler, Jim" <[EMAIL PROTECTED]> 05/15 12:04 PM >>> Justin, 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. Jim > -----Original Message----- > From: JUSTIN GERRY [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 15, 2002 6:53 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > 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 not > 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? > > Thanks, > Justin > > > >>> "Van Sickler, Jim" <[EMAIL PROTECTED]> 05/14 5:30 PM >>> > Justin, > > Take a look at this link: > > http://ftp.ist.utl.pt/pub/windowsnt/mirror-microsoft/kb/Q163/2/41.TXT > > Jim > > > -----Original Message----- > > From: JUSTIN GERRY [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, May 14, 2002 1:48 PM > > To: [EMAIL PROTECTED] > > Cc: [EMAIL PROTECTED] > > Subject: Re: [Samba] Win2k Printing Problems > > > > > > Microsoft file and print sharing is already installed.... not sure > why > > that would make any difference....but Microsoft stuff is strange... > > > > Still no luck with the "Failed to open,retrying" on the queue and I > > can't see any of the jobs listed in the queue. I can print, but I ge > > 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 <[EMAIL PROTECTED]> 05/13 8:35 PM >>> > > > I can now print to my network printers (although one of them keeps > > > printing a banner page... could be a jetdirect issue), but I still > > get > > > the "Failed to open,retrying" on the queue and I can't see any of > > 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 > > > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba