Working Code with Magtek IPAD