Which program is shown in your error message? If you are having trouble printing in all applications (and it matters not whether these are HTML) then my first thought would be your print driver. Control Panel>Printers> select printer>remove. Reboot and let your printer be redetected. Post back and let us know how you get on.
I take it that if you are running in XP or similar, that you have got updated XP print drivers? If you have upgraded from 98, then it is (very!) unlikely that your old drivers will work - but you may find that XP's own native drivers may get you out of a hole until you can get new ones from your printer makers website.