It shall be the duty of the chair of the election commission of each county to have printed all necessary ballots for use in elections, except ballots in municipal elections which shall be printed as herein provided by the authorities of the respective municipalities; and the election commissioner shall cause the official ballot to be printed by a printer sworn to keep the ballots secret under the penalties prescribed by law. The printer shall deliver to the election commissioners for holding elections, a certificate of the number of ballots printed for each precinct, and shall not print any additional ballots, except on instruction of proper election commissioners; and failure to observe either of these requirements shall be a misdemeanor.