CrPC 311A: Section 311A of the Criminal Procedure Code
Power of Magistrate to order person to give specimen signature or handwriting
If a Magistrate of the first class is satisfied that, for the purposes of any investigation or proceeding under this Code, it is expedient to direct any person, including an accused person, to give specimen signatures or handwriting, he may make an order to that effect and in that case the person to whom the order relates shall be produced or shall attend at the time and place specified in such order and shall give his specimen signatures or handwriting:
Provided that no order shall be made under this section unless the person has at some time been arrested in connection with such investigation or proceeding.
Subject to any rules made by the State Government, any Criminal Court may, if it thinks fit, order payment, on the part of Government, of the reasonable expenses of any complainant or witness attending for the purposes of any inquiry, trial or other proceeding before such Court under this Code.