Hi, I have a question about the assignment of printer drivers for windows to my printers in printcap. How do I configure a printer located in my printcap to be recognised by a windows pc as the right model? Where is the mapping supposed to be saved? I have RH 7.2, samba 2.2.3 and lprng running on a PPro 200 Compaq. My intention is that it will serv as a queue server for about 100 printers. According to the Samba HOWTO Printing part the parameter "printer driver", "printer driver locastion" and "printer driver file" is not to be used in new installations. According to the same howto I can use the "Add printer wizard" to upload drivers. I have syccessfully uploaded drivers with the "Add printer wizard" I have also done it with rundll32 Printui.dll in windows. I have tried to to use "Add printer wizard" and rpcclient to set the model. The commands seam to work fine but the settings dont seam to be saved anywhere. I think I have the right configuration. I have no problem access file shares on the server with the right username and there is no problem to do regular printing if I select the driver by hand when I install it. [global] load printers = yes printer admin = @staff [printers] comment = All Printers path = /usr/spool/samba browseable = yes guest ok = no writable = no printable = yes [print$] ; the directory below is writeable and ; the dirvers get uploaded to that directory path = /usr/local/samba/printers guest ok = yes browseable = yes read only = yes write list = @staff
Gerald Carter
2002-Feb-12 07:11 UTC
[Samba] Samba 2.2.3 Windows Printer Drivers definitions
On Sat, 9 Feb 2002, erik wrote:> How do I configure a printer located in my printcap to be recognised by > a windows pc as the right model? Where is the mapping supposed to be > saved? > > I have RH 7.2, samba 2.2.3 and lprng running on a PPro 200 Compaq. My > intention is that it will serv as a queue server for about 100 printers. > > According to the Samba HOWTO Printing part the parameter "printer > driver", "printer driver locastion" and "printer driver file" is not to > be used in new installations.Correct.> According to the same howto I can use the "Add printer wizard" to upload > drivers. I have syccessfully uploaded drivers with the "Add printer > wizard" I have also done it with rundll32 Printui.dll in windows. > > I have tried to to use "Add printer wizard" and rpcclient to set the > model. The commands seam to work fine but the settings dont seam to be > saved anywhere.Need more details on this. Which settings don't seem to be saved? What driver?> I think I have the right configuration. I have no problem access file > shares on the server with the right username and there is no problem to > do regular printing if I select the driver by hand when I install it.Your smb.conf looked correct btw.... chau, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
I did my first XP install today. I used the registry patch, created the machine account and had XP join the domain. Worked fine! But, when I went to login with a domain id it gave me the error that said appoximately "domain not found or user id not found". When I logged in with a local account, I was able to browse for the server and actually even connect to it. I was able to login and even access the shares by manually mapping the drives.... How do I fix this? Thanks.
>> According to the same howto I can use the "Add printer >> wizard" to upload drivers. I have syccessfully uploaded >> drivers with the "Add printer >> wizard" I have also done it with rundll32 Printui.dll in >> windows. >> >> I have tried to to use "Add printer wizard" and >> rpcclient to set the >> model. The commands seam to work fine but the settings >> dont seam to be >> saved anywhere. > >Need more details on this. Which settings don't seem to > be saved? > What driver?[root@tpol bin]# ./rpcclient skorpan -U user%pass - c "setdriver AGLejon \"HP 2500C Series Printer\"" session setup ok Domain=[GOTHENBURG] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] cmd = setdriver AGLejon "HP 2500C Series Printer" setdriver AGLejon "HP 2500C Series Printer" result was NT code 0xc0000709 I have tested several drivers and they all give me the same result. The command looks like it works but the printer still reports not to have a driver installed when I want to install it on a windows printer. I get the same result when I use addprinterwizard to add a printer with its drivers. Hope this will give you a clue. //erik