Changes

Jump to: navigation, search

Printer drivers

855 bytes added, 22:54, 10 June 2011
Updated HP Universal Printing PS driver to 5.2.6, demonstrated how to make it work on 64-bit Windows, and fixed a spelling error.
<package
id="hpuniv-drivers"
name="HP Universal Printer Driver 45.72.6" revision="23"
reboot="false"
priority="0">
<!-- XXX this check is inadequetemay be inadequate. At the time I prepared it, WPKG didnWpkg doesn't handle REG_BINARY very REG_BINARY very well. -->, but Data File changes with different versions of this driver and <! appears to not be updated on a partial wrong-- Note: the packages only provide x86 drivers, so no other arch are checked architecture install. -->
<check type="logical" condition="or"> <check type="registry" condition="equals" path="HKLM\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3\HP Universal Printing PS\Data File" value="hpcu083shpcu112s.ppd" /> <check type="registry" condition="equals" path="HKLM\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64\Drivers\Version-3\HP Universal Printing PS\Data File" value="hpcu112s.ppd" /> </check>
<!-- unfortunately /h doesn't seem to work to install drivers for both architectures on one computer (tested on XP and 7), so we do this instead. It would probably be possible to ignore return codes instead. --> <!-- ia32 uses hpcu112d.inf --> <install cmd='%COMSPEC% /C if not exist "%PROGRAMFILES(x86)%" rundll32 PrintUI.dll,PrintUIEntry /ia /f "%SOFTWARE%\printerdrivers\hp-universal-v4v5.7\2.6/32/hpcu112d.inf" /m "HP Universal Printing PS" /q' /> <!-- amd64 uses hpcu112v.inf --> <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%" rundll32 PrintUI.dll,PrintUIEntry /ia /f "%SOFTWARE%\hpcu083dprinterdrivers\hp-universal-v5.2.6/64/hpcu112v.inf" /m "HP Universal Printing PS" /q' />
</package>
 
 
</source>
priority="0">
<!-- XXX this check is inadequeteinadequate. -->
<!-- Note: the packages only provide x86 drivers, so no other arch are checked -->
priority="0">
<!-- XXX this check is inadequeteinadequate. Wpkg doesn't handle REG_BINARY very well. -->
<!-- Note: the packages only provide x86 drivers, so no other arch are checked -->
Anonymous user

Navigation menu