It seems that there are many people coming to this page looking for one of the printer driver files. Through a comment at the bottom or an e-mail, let me know what exactly you are looking for. I will see if I can post some information on this page; this might save other searchers some time. Thanks, Farhan.
The day before yesterday I finally took out a few hours to setup the HP Office 5150 on the server so everyone on the home network would be able to print to it. Surprisingly, I was able to print from the server in about fifteen minutes, most of which were spent reading up on all the different technologies: CUPS Samba printer sharing, HPLIP, etc. But the part that took next hour and a half was setting up the printer drivers on the server for Windows to auto-install when someone tries to access the printer.
Most of the delay was because Windows was not able to detect the printer correctly. Add to that the fact that HP packaged most of the files in MSIs and other compressed file formats. So I had to query the windows machine for the list of drivers and then copy those over to the print$ share on the server. This also involved understanding the RPC commands and the new ACLs on Samba. Unfortunately I wasted quite some time only to figure out that the root user on Samba isn’t really a root user. When I would add the printer driver using the adddriver
rpc command as the root user it would keep saying result was WERR_UNKNOWN_PRINTER_DRIVER
when the problem really was a permission problem and not a print detection. After I realized that it was a permission issue I was able to easily install the drivers.
To sum up the steps, here is what I had to do.