Every person violating any of the provisions of this article shall be guilty of a misdemeanor and, upon conviction, shall be punished by a fine of not more than one thousand dollars and by imprisonment not to exceed twelve months or by either or both in the discretion of the trial judge.