To use PrintMig, you must first edit 2 configuration files, printmig.ini
and printmap.ini.
By default, PrintMig looks for the printmap.ini in the directory where it was run from.
If you wish to change the location in which PrintMig looks for this file, edit the
printmig.ini and add a value to the MappingFileLocation key under the
[Settings] section.
Also, by default, PrintMig will record all events in printmig.log, which will be
created under the users Windows directory. If you wish to change the location where
PrintMig puts this log file, edit the printmig.ini and add a value to the UserLogFileLocation
key under the [Settings] section
When RenamePrinter is set to 1,
PrintMig will rename the Windows 95 printer name to the NT style of <Share> on
<Server>, example; HPLJ4 on NTSERVER1. Set this value to 0 if you do not want to
rename users current printer names. This value is ignored on NT workstations as they
automatically use this printer naming convention.
When IniFormat is set to 1, this causes PrintMig to read its printmap.ini in
different way. This is to allow printer ports that use the NW 4/5 style printer naming conventions, ie. \\nssd\cn=b571_adp_laser.ou=nssd02.o=nssd
When IniFormat is set to 0, the printmap.ini is read by Printmig as a standard Windows ini file where you have sections, keys and values.
[mapping]
\\server1\queue1=\\server2\HPLaserJet1
\\server1\queue2=\\server2\HPLaserJet2
\\server1\queue3=\\server2\HPLaserJet3
When IniFormat is set to 1, the printmap.ini is read by Printmig as a
standard text file, that is parsed by Printmig.
\\nssd\cn=b571_laser1.ou=nssd02.o=nssd~\\server2\HPLaserJet1
\\nssd\cn=b1291_laser2.ou=nssd02.o=nssd~\\server2\HPLaserJet2
\\nssd\cn=b1380_laser3.ou=nssd02.o=nssd~\\server2\HPLaserJet3
The Delimiter key allows you to set the delimiter used in the printmap.ini whenIniFormat is set to 1. This key is ignored if IniFormat is set to 0.
Example of a default printmig.ini
[Settings]
MappingFileLocation=
UserLogFileLocation=
RenamePrinter=0
IniFormat=0
Delimiter=
Example of a printmig.ini with non-default values
[Settings]
MappingFileLocation=\\ntsrv1\swdist\printmap.ini
UserLogFileLocation=f:\printmig.log
RenamePrinter=1
IniFormat=1
Delimiter=~
Example of a printmig.ini using environment variable substitution in
UserLogFileLocation settings. The following environment variables maybe used: HOMEDRIVE, HOMESHARE, COMPUTERNAME, USERNAME
[Settings]
UserLogFileLocation=\\ntsrv1\logfiles\USERNAME.log
Using PrintMig with SMS or other Software Distribution Tools
The only files that need to be distributed in order for PrintMig to function are:
Printmig.exe
Wbdbv32i.dll
Wwprt32i.dll
Www9532i.dll
Printmig.ini
Printmap.ini - (only if default value is kept in printmig.ini)
PrintMig Parameters
PrintMig has several different "modes" of operation based on the command line
parameters passed to it. In addition to the following parameters, you can
also use a "/Q", without the quotes, to run PrintMig in quiet
mode.
- Printmig.exe /inv
- This mode will do a printer inventory only and log it to printmig.log
-
- Printmig.exe /migrt
- This mode will do a printer migration only. At some point, you should have already run
printmig.exe /inv or printmig.exe /setlocal.
-
- Printmig.exe /all
- This mode will create a printer inventory and then migrate the printers all in one step
Registering PrintMig gives you full automation. After registration, you
will not be prompted before the migration of each printer.
PrintMig can be purchased through RegSoft.com, our software
registration service. Once you have registered through Regsoft, you will
be directed to a web page where you can download the full version of
PrintMig.
Please see the PrintMig licensing
agreement for full details on the proper license for your situation.
PrintMig is licensed either for single or multiple company use.
If you have any problems or questions about this process, please send
an email to sales@foxwaredesign.com
. We will assist you in any way that we can.
Thanks again for
selecting PrintMig!