I just (re)joined the list today and I see there is perhaps a thread similiar to this one going. I'm in the process of building a new Samba 2.2.2 (Linux: Debian-Woody package) print server machine to replace another that is on version 2.0.7. Mostly of interest is the ability to facilitate the down/up load of print drivers for W2K clients as well as W9x. For the most part building the printer definition tables is going pretty good. I browse to the Samba 2.2.2 server and select a printer from the list and do a right-click "connect" and proceed to install the driver, then the alternate driver for W9x's. The driver files go into the proper WIN40 or W32X86 folder of the print$ share as they should and all is well. However there are several printers that will not install. After the "connect", I get the usual "server does not have the correct driver ... do you want to install it on your local computer?" message. I click "ok" then get a message box indicating that "The file "*.INF" on (Unknown) is needed." And from that point, no matter where I go to find the driver, the next message box I get tells me "The printer dirver you selected is either not compatible with your current version of Windows ... <blah blah>". This is bogus because I can install a "local" printer from the same driver source just fine. I wondering if somehow the database this stuff is stored in (printing.tdb?, ntdrivers.tdb?) is somehow corrupted. Early on in the 2.2.2 install I had the "printer driver location" in smb.conf pointing to the wrong location. Could this be possible? Is there a way to examine and/or fix this database? If all else fails, I guess I could remove the current install and start over, but I've put a lot of work into it and don't want to that. Heres an example of a printer section from smb.conf with a problem printer: [prt1240] comment = HP Laserjet 8000 in DevMin path = /var/spool/samba readonly = no guest ok = yes print ok = yes print command = /usr/bin/lpr -h -r -P%p %s printer name = prt1240 oplocks = yes printer driver=HP LaserJet 8000 Series PS printer driver location=\\%h\print$ *** I googled for quite a while and found a few other mentions of this problem but no fixes. Thanks. -- John Hawley BGEA/ITS <=> Network Admin 612.335.1334 jhawley@bgea.org
Don't know if this will help, but the printer driver and printer driver location options are not used in 2.2.2 I believe. I could be wrong, but I think I'm right... P.S. I have the same problem with my setup, and I'm trying to figure it out as we speak... -----Original Message----- From: John Hawley [mailto:jhawley@bgea.org] Sent: Tuesday, January 08, 2002 11:38 AM To: samba@lists.samba.org Subject: Samba/Printing & Win2K INF file problem I just (re)joined the list today and I see there is perhaps a thread similiar to this one going. I'm in the process of building a new Samba 2.2.2 (Linux: Debian-Woody package) print server machine to replace another that is on version 2.0.7. Mostly of interest is the ability to facilitate the down/up load of print drivers for W2K clients as well as W9x. For the most part building the printer definition tables is going pretty good. I browse to the Samba 2.2.2 server and select a printer from the list and do a right-click "connect" and proceed to install the driver, then the alternate driver for W9x's. The driver files go into the proper WIN40 or W32X86 folder of the print$ share as they should and all is well. However there are several printers that will not install. After the "connect", I get the usual "server does not have the correct driver ... do you want to install it on your local computer?" message. I click "ok" then get a message box indicating that "The file "*.INF" on (Unknown) is needed." And from that point, no matter where I go to find the driver, the next message box I get tells me "The printer dirver you selected is either not compatible with your current version of Windows ... <blah blah>". This is bogus because I can install a "local" printer from the same driver source just fine. I wondering if somehow the database this stuff is stored in (printing.tdb?, ntdrivers.tdb?) is somehow corrupted. Early on in the 2.2.2 install I had the "printer driver location" in smb.conf pointing to the wrong location. Could this be possible? Is there a way to examine and/or fix this database? If all else fails, I guess I could remove the current install and start over, but I've put a lot of work into it and don't want to that. Heres an example of a printer section from smb.conf with a problem printer: [prt1240] comment = HP Laserjet 8000 in DevMin path = /var/spool/samba readonly = no guest ok = yes print ok = yes print command = /usr/bin/lpr -h -r -P%p %s printer name = prt1240 oplocks = yes printer driver=HP LaserJet 8000 Series PS printer driver location=\\%h\print$ *** I googled for quite a while and found a few other mentions of this problem but no fixes. Thanks. -- John Hawley BGEA/ITS <=> Network Admin 612.335.1334 jhawley@bgea.org -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Wade Winright wrote:> Don't know if this will help, but the printer driver and printer driver > location options are not used in 2.2.2 I believe. I could be wrong, but I > think I'm right... > > P.S. I have the same problem with my setup, and I'm trying to figure it out > as we speak...Lets hope we can get it figured out. The automatic driver install aside, I can't even connect to any printer of the problem model from any W2k client as it stands now. I wonder if setting samba to "disable spoolss = yes", installing the W2k print driver, then turn the spooling back on, and reloading the driver would work? ... Nope, I just tried it. I was able to successfully install the driver with spoolss disabled, but same problem when trying to reinstall with spoolss back on :(. ~jh
So after many hours of beating my head against the monitor, and searches galore, bothering people on the list, and causing myself to talk in my sleep concerning printers I have a work-around for this problem!! I have done 2 things, one of which I know makes it work, and the other that may contribute, but I have to do more testing... First, I download the drivers from the manufacturer, in this case HP, and place them in a folder on my win2k workstation. I then follow the Samba Printing instructions. When Win2k prompts me for a driver, I select Have Disk, browse to the new folder, select the directory with the driver in it and select Open. When it prompts me for the "*.inf" file, I simply point it back to THE SAME FOLDER I USED FOR THE DRIVER and it will either install, or give a Microsoft signature warning, at which I select Yes I agree. It will finish installing, and viola!! The drivers will now download automatically!! The other thing I did which may or may not contribute to these results is to add 2 directories (so far) in the W32X86 directory named "2" and "3". This is something I tried due to the fact that my win2k box has these folders under the PRINTERS directory. I think this will fix the problems. I have installed 3 printers now and have about 100 to go. I will keep the list updated on problems and successes. If this works out like it is currently, I would recommend inserting this into the docs, as I have seen about 4-5 emails on the list within the past 5 days concerning this. Happy Hunting... -----Original Message----- From: John Hawley [mailto:jhawley@bgea.org] Sent: Wednesday, January 09, 2002 7:58 AM To: samba@lists.samba.org Subject: Re: Samba/Printing & Win2K INF file problem John Hawley wrote:> Wade Winright wrote: > > > Don't know if this will help, but the printer driver and printer driver > > location options are not used in 2.2.2 I believe. I could be wrong, butI> > think I'm right... > > > > P.S. I have the same problem with my setup, and I'm trying to figure itout> > as we speak... >Ok, I think I have it pretty much figured out. Yes, you do need the "printer driver" in each printer section. And it must exactly match up with what that drivers description in the *.inf file that you direct it to. Turns out all my problem printer models had a typo or some incorrect data on this line. Not sure if the "printer driver location" param is now needed or not, but I have been putting "printer driver location=\\%h\print$" in each section. The next problem, is how do you add drivers for other OS's if the description names aren't the same? As an example, an HP Laserjet 4M+. In W2k its called "HP LaserJet 4/4M Plus PS 300" and in Win98 its called "HP LaserJet 4/4M Plus PS" ~jh -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
P.S. I did not have to use the printer driver or printer driver location setting in this implementation. Also the "*.inf" file is the one that it is looking for on the Win2k Server CD-ROM, but is not needed, to clarify. -----Original Message----- From: Wade Winright [mailto:Wwinrigh@thecreek.com] Sent: Wednesday, January 09, 2002 12:47 PM To: 'jhawley@bgea.org'; samba@lists.samba.org Subject: RE: Samba/Printing & Win2K INF file problem So after many hours of beating my head against the monitor, and searches galore, bothering people on the list, and causing myself to talk in my sleep concerning printers I have a work-around for this problem!! I have done 2 things, one of which I know makes it work, and the other that may contribute, but I have to do more testing... First, I download the drivers from the manufacturer, in this case HP, and place them in a folder on my win2k workstation. I then follow the Samba Printing instructions. When Win2k prompts me for a driver, I select Have Disk, browse to the new folder, select the directory with the driver in it and select Open. When it prompts me for the "*.inf" file, I simply point it back to THE SAME FOLDER I USED FOR THE DRIVER and it will either install, or give a Microsoft signature warning, at which I select Yes I agree. It will finish installing, and viola!! The drivers will now download automatically!! The other thing I did which may or may not contribute to these results is to add 2 directories (so far) in the W32X86 directory named "2" and "3". This is something I tried due to the fact that my win2k box has these folders under the PRINTERS directory. I think this will fix the problems. I have installed 3 printers now and have about 100 to go. I will keep the list updated on problems and successes. If this works out like it is currently, I would recommend inserting this into the docs, as I have seen about 4-5 emails on the list within the past 5 days concerning this. Happy Hunting... -----Original Message----- From: John Hawley [mailto:jhawley@bgea.org] Sent: Wednesday, January 09, 2002 7:58 AM To: samba@lists.samba.org Subject: Re: Samba/Printing & Win2K INF file problem John Hawley wrote:> Wade Winright wrote: > > > Don't know if this will help, but the printer driver and printer driver > > location options are not used in 2.2.2 I believe. I could be wrong, butI> > think I'm right... > > > > P.S. I have the same problem with my setup, and I'm trying to figure itout> > as we speak... >Ok, I think I have it pretty much figured out. Yes, you do need the "printer driver" in each printer section. And it must exactly match up with what that drivers description in the *.inf file that you direct it to. Turns out all my problem printer models had a typo or some incorrect data on this line. Not sure if the "printer driver location" param is now needed or not, but I have been putting "printer driver location=\\%h\print$" in each section. The next problem, is how do you add drivers for other OS's if the description names aren't the same? As an example, an HP Laserjet 4M+. In W2k its called "HP LaserJet 4/4M Plus PS 300" and in Win98 its called "HP LaserJet 4/4M Plus PS" ~jh -- 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
Hi Wade, "First, I download the drivers from the manufacturer, in this case HP, and place them in a folder on my win2k workstation." I'm really curious where you were able to download HP printer drivers for Win 2000. I could not find it. Can you tell me where?? Thanks, Dimitry _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com
http://www.hp.com/cposupport/software.html to start with... -----Original Message----- From: Dimitry Vink [mailto:dimitry_vink@hotmail.com] Sent: Thursday, January 10, 2002 8:39 AM To: Wwinrigh@thecreek.com; jhawley@bgea.org; samba@lists.samba.org Subject: RE: Samba/Printing & Win2K INF file problem Hi Wade, "First, I download the drivers from the manufacturer, in this case HP, and place them in a folder on my win2k workstation." I'm really curious where you were able to download HP printer drivers for Win 2000. I could not find it. Can you tell me where?? Thanks, Dimitry _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com