Internet Explorer 6.x in Windows XP may not print or show the Print Preview dialog. Instead an "Internet Explorer Script Error" message is shown, indicating that a "library" (*.dll) is not registered.
According to Nick at askatechguy.com, this library is iepeers.dll so the following command should fix the problem:
regsvr32 iepeers.dll