Changes

Printer configuration

No change in size, 22:53, 31 January 2009
Lazy way first
WPKG can be used for configuring printers and printer ports, too.
 
= The lazy way =
 
... or you could use printmig (pre-vista only) ...
All you need to do is install the printers on one machine and export them from printmig... You will get a nice cab file this way...
 
<source lang="xml">
<packages>
<package
id="printer"
name="printer"
revision="0"
reboot="postponed"
priority="5"
execute="once">
<install cmd="%SOFTWARE%\printer\printmig.exe -i -r %SOFTWARE%\printer\printer.cab" />
</package>
</packages>
</source>
 
 
 
More silent printer installation options [http://www.msfn.org/board/lofiversion/index.php/t43120.html here].
 
= Another lazy way (Vista) =
For Vista, you can migrate your printers with printbrm.
 
- Open the Administrative Tools folder, and then click Print Management.
 
- In the Print Management tree, right-click the name of the computer that contains the printer queues that you want to export, and then click Export printers to a file. This starts the Printer Migration Wizard.
 
- On the Select the file location page, specify the location to save the printer settings, and then click Next to save the printers. For this example, it'll be "printer_labo.export". It contains a Brother HL-1470N printer.
 
The deployement after that is:
 
<source lang="xml">
<package
id="labo-printer"
name="Labo Printer"
revision="1"
priority="0"
reboot="false">
 
<check type="registry" condition="equals" path="HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers\Brother HL-1470N\Name" value="Brother HL-1470N" />
<install cmd="c:\windows\system32\spool\tools\printbrm.exe -r -f %SOFTWARE%\Printers\printer_labo.export -O FORCE" />
<install cmd='rundll32 printui.dll,PrintUIEntry /y /n "Brother HL-1470N"' />
</package>
</source>
= Adding TCP/IP printer ports =
</package>
</packages>
</source>
 
= The lazy way =
 
... or you could use printmig (pre-vista only) ...
All you need to do is install the printers on one machine and export them from printmig... You will get a nice cab file this way...
 
<source lang="xml">
<packages>
<package
id="printer"
name="printer"
revision="0"
reboot="postponed"
priority="5"
execute="once">
<install cmd="%SOFTWARE%\printer\printmig.exe -i -r %SOFTWARE%\printer\printer.cab" />
</package>
</packages>
</source>
 
 
 
More silent printer installation options [http://www.msfn.org/board/lofiversion/index.php/t43120.html here].
 
= Another lazy way (Vista) =
For Vista, you can migrate your printers with printbrm.
 
- Open the Administrative Tools folder, and then click Print Management.
 
- In the Print Management tree, right-click the name of the computer that contains the printer queues that you want to export, and then click Export printers to a file. This starts the Printer Migration Wizard.
 
- On the Select the file location page, specify the location to save the printer settings, and then click Next to save the printers. For this example, it'll be "printer_labo.export". It contains a Brother HL-1470N printer.
 
The deployement after that is:
 
<source lang="xml">
<package
id="labo-printer"
name="Labo Printer"
revision="1"
priority="0"
reboot="false">
 
<check type="registry" condition="equals" path="HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers\Brother HL-1470N\Name" value="Brother HL-1470N" />
<install cmd="c:\windows\system32\spool\tools\printbrm.exe -r -f %SOFTWARE%\Printers\printer_labo.export -O FORCE" />
<install cmd='rundll32 printui.dll,PrintUIEntry /y /n "Brother HL-1470N"' />
</package>
</source>
[[category:Silent Installers|Printer configuration]]
[[Category: Changing Windows settings]]
58
edits