This page links you to known information and resources for using Samsung products with iViewer/guiDesigner.
Marcus from the Google Groups has put together a GUI to control a Samsung SmartTV. He designed it to work with his UE60D6500 and UE60D8090. It will most likely work with many other Samsung models as well.
This GUI contains all the commands required for easy implementation.
You can download the GUI from Marcus' post on the Software Google Groups.