No money shall be paid by the sheriff out of the county treasury except upon an order signed by the president and clerk of the county court, and properly endorsed: Provided, however, That in counties having a population in excess of fifty thousand as shown by the last preceding federal census, such signatures and the signature of the sheriff authorizing the payment of such orders by a county depository may be made by means of such mechanical or electrical device as the county court may select. Such mechanical or electrical device for the making of the signatures of the president and clerk shall be safely kept in the office of the clerk of the county court so that no one shall have access thereto except the members of the county court and the clerk of the county court and such of their respective employees as may be authorized to have access thereto. Such mechanical or electrical device for the making of the signature of the sheriff shall be safely kept in the office of the sheriff so that no one shall have access thereto except the sheriff and such of his deputies as may be authorized to have access thereto.
If any person other than the persons authorized so to do shall sign the name of the president of the county court, the clerk of the county court or the sheriff by the use of any such mechanical or electrical device, or otherwise, on any warrant, order or check, or utter or attempt to employ as true such forged warrant, order or check, knowing the same to be forged, he shall be guilty of a felony and, upon conviction, shall be confined in the penitentiary not less than two years and not more than ten years.
W. Va. Code § 7-5-4