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

Aarti Varshney (asadhnan) asadhnan at cisco.com
Tue Jan 31 01:17:15 GMT 2006


Thanks Geoff for getting back to me.
I believe my add printer command is working because net rpc migrate
printer commands work fine when run on the samba server. And when I add
a printer using the APW from windows it works.
 

-----Original Message-----
From: Geoffrey Scott [mailto:geoffs at guestshire.com] 
Sent: Monday, January 30, 2006 7:55 PM
To: Aarti Varshney (asadhnan); samba at lists.samba.org
Subject: RE: [Samba] windows print migrator + "add printer command"

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