mrfreeze, thanks for your help. yeah, your edit is correct, i can't add a code in hex format.
I need a 3 digit code, similar to the ones listed here:[Link: remotecentral.com]
Even though that post shows "sleep" as being code 187, that code does not work on the new Samsung TVs. Many of the other codes in that post do work, but not the sleep timer.
Any other advice would be much appreciated.