Kirk B. Dice
2006-Mar-31 17:27 UTC
[Samba] Migrating from NT4 print server to Samba print server
Hello, I was hoping someone could help me with migrating printers from a WinNT4 print server to a Samba server. I have searched the web for days and haven't found a solution. I am running Slackware 10.1; kernel 2.4.29. I upgraded Samba to 3.0.21c recently and I am using LPR v3.8.28 as my print spooler. Here is the response from the 'rpc migrate printers' command: root@roadrunner:/etc>net rpc printer MIGRATE PRINTERS "HPDeskJet600" \ -S Larry -U administrator Password: xxxxxxx migrating printer queue for: [\\LARRY\HP DeskJet 600] / [HPDeskJet600] cannot open printer \\127.0.0.1\HPDeskJet600 on server \\127.0.0.1: WERR_INVALIE cannot get printer-info: DOS code 0x0000001a could not get printer, creating printer. creating printer: \\LARRY\HP DeskJet 600 could not create printer [\\LARRY\HP DeskJet 600] root@roadrunner:/etc> Thanks Kirk
marcos rocha
2006-Mar-31 17:37 UTC
[Samba] Migrating from NT4 print server to Samba print server
Hi Kirk, try this: - use smbclient to copy all files from \\file_server\print$\WIN40\0 to /var/lib/samba/printers/WIN40 - use chmod to change de default permission on the /var/lib/samba/printers/WIN40 to 777 - use rpcclient to add the device drivers and register this driver to the printer - use chown to change the owner of the files on /var/lib/samba/printers/WIN40/0 to root.root - use chmod to change the permissions to the default. []s Marcos --- "Kirk B. Dice" <kirk@wadipetroleum.com> escreveu:> Hello, > > I was hoping someone could help me with migrating > printers from a WinNT4 print server to a Samba > server. I have searched the web for days and haven't > found a solution. I am running Slackware 10.1; > kernel 2.4.29. I upgraded Samba to 3.0.21c recently > and I am using LPR v3.8.28 as my print spooler. > > Here is the response from the 'rpc migrate printers' > command: > > root@roadrunner:/etc>net rpc printer MIGRATE > PRINTERS "HPDeskJet600" \ > -S Larry -U administrator > Password: xxxxxxx > migrating printer queue for: [\\LARRY\HP DeskJet > 600] / [HPDeskJet600] > cannot open printer \\127.0.0.1\HPDeskJet600 on > server \\127.0.0.1: WERR_INVALIE > cannot get printer-info: DOS code 0x0000001a > could not get printer, creating printer. > creating printer: \\LARRY\HP DeskJet 600 > could not create printer [\\LARRY\HP DeskJet 600] > root@roadrunner:/etc> > Thanks > > Kirk > -- > To unsubscribe from this list go to the following > URL and read the > instructions: > https://lists.samba.org/mailman/listinfo/samba >_______________________________________________________ Yahoo! doce lar. Fa?a do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html