Any state officer required by law to be commissioned who exercises any of the duties of the office to which he has been elected or appointed without having first obtained his commission must, on conviction, be fined not less than $5.00 nor more than $20.00.