Section 1. A clerk of a court of record, a notary public or a justice of the peace may issue summonses for witnesses in all cases pending before courts, magistrates, auditors, referees, arbitrators or other persons authorized to examine witnesses, and at all hearings upon applications for complaints wherein a person may be charged with the commission of a crime; but a notary public or a justice of the peace shall not issue summonses for witnesses in criminal cases except upon request of the attorney general, district attorney or other person who acts in the case in behalf of the commonwealth or of the defendant. If the summons is issued at the request of the defendant that fact shall be stated therein. The summons shall be in the form heretofore adopted and commonly used, but may be altered from time to time like other writs.