[Samba] windows print migrator + "add printer command"

Geoffrey Scott geoffs at guestshire.com
Tue Jan 31 00:54:54 GMT 2006

Aarti Varshney (asadhnan) wrote:
> hi Geoff,
> Looks like you have figured out how to use the printmig.exe.

No I didn't.  :-(  I had no issues at all using the add/remove printer
scripts that are in the example docs. So I could add and remove printers
from a windows workstation without problems.  Make sure that you read
through the scripts before use.  You can figure out from them where spaces
in names are allowed and where they aren't.

> Can you please give me some pointers:
> I am trying to migrate print queues from a windows server to a samba
> share. 
> this is what I did:
> 1. I ran printmig.exe on the windows server.
> 2. Backed up the printers on the windows servers to a cab file.
> 3. Tries to restore the printers to the sambashare by specifying the
> target as //sambaShare. But I get the following error:
> 2006:01:25 15:35:38   Access Granted to: \\sambaShare
> <file://sambaShare/>
> 2006:01:25 15:35:38   Couldn't start the target spooler
> 2006:01:25 15:35:38   Remote Tree View Failed
> How do I starter the target spooler?

Well no such spooler exist AFAIK.  I was hoping jerry could spread some
enlightenment but he never came back to this thread.  I haven't had time to
do an ethereal trace on this lately due to server crashes (bad hardware)

> Do I need some config in smb.conf?
> In smb.conf I have a addprinter command.

Jerry reckons that you only need a working add printer command.  Have you
tested adding a printer by itself, and not using the print migrator?  I just
assumed that I must be doing something wrong.  So I gave up and did each
printer manually.

> Thanks,
> Aarti.

More information about the samba mailing list