Every person, firm or corporation violating the provisions of Section 642 of this Article, or neglecting or refusing to comply with the same, shall be deemed guilty of a misdemeanor, and, upon conviction thereof, shall be punished by a fine of not less than $25 and not exceeding $500, or by imprisonment in the County Jail for a period of not less than five days or not more than six months or by both such fine and imprisonment.