Every state, county or political subdivision officer having the custody of a public record or writing is bound to give any person on demand a certified copy thereof on payment of the legal fees therefor. Where fees are not otherwise expressly provided by statute, the fee shall be thirty cents per hundred words if the copy is a typewritten copy, and the cost of the mechanically reproduced copy when the copy is made by photographic or offset process. In addition thereto a fee of one dollar shall be charged for the certificate of the officer.