Re: Using printmig.exe to migrate printers from 32bit to 64bit W2K
Vista backup migration tool will restore the settings. The main issue is it
only migrates Standard TCP/IP and LPR Ports. If you are using any other
port monitor, the monitor needs to be installed and the ports created before
the restore.
WMI does not support the virtual name of the cluster so scripting the
configuration changes is out.
You can use setprinter in the Windows Resource kit to change default
settings
E:\>SetPrinter -examples 8
Used to set global document printing defaults.
To see current settings:
SetPrinter -show PrinterName 8
To disable collation on a printer:
SetPrinter PrinterName 8 "pdevmode=dmCollate=0"
To enable long-side duplex printing and collation on all printers on a
remote
machine (dmFields settings are optional since they are implicitly set):
SetPrinter \\ServerName 8
"pdevmode=dmduplex=2,dmCollate=1,dmFields=|duplex collate"
To set default paper size to A4 on all local printers:
SetPrinter "" 8 "pdevmode=dmPaperSize=9, dmPaperLength=2970,
dmPaperWidth=2100, dmFormName=A4"
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/search/?adv=1
This posting is provided "AS IS" with no warranties, and confers no rights.
"orba" <orba@discussions.microsoft.com> wrote in message
news:0D221239-2405-4155-981D-3976889999A0@microsoft.com...
> thanks a lot! Is there any advantage of using Vista Print backup and
> migration utility for this migration scenario? The problem I have with
> scripted print migration is that I wasn't able to set settings such as
> A4/Letter, duplexing using WMI. This would take quite a while for me to
> change manually...
>
> thanks again
> orba
>
> "Alan Morris [MSFT]" wrote:
>
>>
>>
>> > 1. Do I have to install the 64bit UPD prior to the printmig restore?
>> YES and all the x64 driver names must match the 32 bit driver names or
>> they
>> are not the same driver. If the 32bit driver name is HP Color LaserJet
>> xxxx
>> PCL 6, this name does not match the 64bit HP Universal Color Printer
>> Driver
>>
>> > 2. Can I use printmig for 32bit to 64bit printer migration?
>> Yes when the x64 drivers are already installed
>>
>> > 3. Scripted migration?
>> the prn*.vbs files in system32
>>
>> > 4. Anything else i forgot...?
>> Vista Ultimate and Business SP1 has the Print Backup and Migration
>> utility.
>> You can use this tool to backup the 32bit machine and restore to the
>> 64bit
>> machine.
>>
>> I recommend installing the matching x64 drivers onto the 32bit machine
>> before backing up so all the printers will be restored.
>>
>> --
>> Alan Morris
>> Windows Printing Team
>> Search the Microsoft Knowledge Base here:
>> http://support.microsoft.com/search/?adv=1
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>> "orba" <orba@discussions.microsoft.com> wrote in message
>> news:1E04C179-CB44-47E7-A03B-36E5A0DFB7FE@microsoft.com...
>> > Hello,
>> >
>> > I'm trying to migrate 500 printers from a W2K 32bit standalone server
>> > to a
>> > W2K3 64bit cluster and have a few questions left unanswered...I have a
>> > standalone 64bit test server and till now I didn't get the printers to
>> > work
>> > nor to be displayed in the printers & faxes window. Though I can see
>> > the
>> > printer entries under HKLM/system/currentcontrolset/print/printers !?
>> > The
>> > printmig tool doesn't give any error during backup/restore. No errors
>> > in
>> > pm.log either... Restoring to a 32bit W2k3 system worked like a charm.
>> >
>> > All of the printers are HP and are covered by the 64bit Universal Print
>> > Driver. and the printmig that was created on the 32bit W2K server
>> > contains
>> > all 32bit drivers for the printers.
>> >
>> > So,
>> > 1. Do I have to install the 64bit UPD prior to the printmig restore?
>> > 2. Can I use printmig for 32bit to 64bit printer migration?
>> > 3. Scripted migration?
>> > 4. Anything else i forgot...?
>> >
>> > Any help is welcome.
>> > Orba
>> >
>> >
>>
>>
>>