Xantech makes a RS
232 to IR converter.
www.xantech.com for more info. As for obtaining RS
232 codes, it will depend on the manufacturer. Some have them in the owners manuals, other on their respective websites, and others will require some phone calls to tech support and hopefully you'll get a propeller head that will be able to help you.