(a) The clerk of the appellate division of the supreme court in each judicial department, for his official services shall be entitled to receive for and on behalf of the state such reasonable fees as may be prescribed by rules as hereinafter provided. He shall account to the state comptroller for the moneys from such fees and shall pay into the state treasury all such moneys.
(b) The justices of each appellate division or a majority of them shall have the power to make, from time to time, rules fixing and regulating the fees of the clerk of such appellate division, his undertaking, and all his duties in relation to such fees.