It is really hard to try to understand what IR hardware you have and what you try to achieve. Let's guess: Is it this device
[Link: quantumrehab.co.uk] ?
You have "learned" some remote control signals, they work with some devices (Samsung TV) but not with others?
If that is true, the problematic signals are likely either bad learns or limitations in you system -- like inability to learn and reproduce a certain kind of signal.