Using HEX Codes with Broadlink IR Blaster

Hi all, this is my first post to the community, so be nice please! I am unsuccessfully trying to get a script running that turns my really old Samsung TV on using HEX codes via a Broadlink IR Blaster. If anyone has done this, I would be much appreciative for some guidance.