Summons to produce document or other thing: (1) Whenever any Court, or, any officer incharge of a police-station considers that the production of any document or other thing is necessary or desirable for the purposes of ,any investigation, inquiry, trial or other proceeding under this Code by or before such Court or officer, such Court may issue a summons, or such officer a written order, to the p