The joke is a pun on the word 'impressed'.  A branding iron brands cows by being pressed against the cow's skin.  The saying makes it sound like the cows are surprised and content with the invention.
When the branding iron was invented cattle were very impressed .