Section 162 in Indian Evidence Act 1872
Title: Production of documents
A witness summoned to produce a document shall, if it is in his possession or power, bring it to Court, notwithstanding any objection which there may be to its production or to its admissibility. The validity of any such objection shall be decided on by the Court.
The Court, if it sees fit, may inspect the document, unless it refers to matters of State, or take other evidence to enable it to determine on its admissibility.
Translation of documents. -- If for such a purpose it is necessary to cause any document to be translated, the Court may, if it thinks fit, direct the translator to keep the contents secret, unless the document is to be given in evidence and, if the interpreter disobeys such direction, he shall be held to have committed an offence under section 166 of the Indian Penal Code (45 of 1860).
Title: Giving as evidence of document called for and produced on notice
When a party calls for a document which he has given the other party notice to produce, and such document is produced and inspected by the party calling for its production, he is bound to give it as evidence if the party producing it requires him to do so.
Title: Using as evidence of document production of which was refused on notice
When a party refuses to produce a document which he has had notice to produce, he cannot afterwards use the document as evidence without the consent of the other party or the order of the Court.
A sues B on an agreement and gives B notice to produce it. At the trial A calls for the document and B refuses to produce it. A gives secondary evidence of its contents. B seeks to produce the document itself to contradict the secondary evidence given by A, or in order to show that the agreement is not stamped. He cannot do so
Title: Judge’s power to put questions or order production
The Judge may, in order to discover or to obtain proper proof of relevant facts, ask any question he pleases, in any form, at any time, of any witness, or of the parties about any fact relevant or irrelevant; and may order the production of any document or thing; and neither the parties nor their agents shall be entitled to make any objection to any such question or order, nor, without the leave of the Court, to cross-examine any witness upon any answer given in reply to any such question:
Provided that the judgment must be based upon facts declared by this Act to be relevant, and duly proved:
Provided also that this section shall not authorize any Judge to compel any witness to answer any question or to produce any document which such witness would be entitled to refuse to answer or produce under sections 121 to 131, both inclusive, if the question were asked or the document were called for by the adverse party; nor shall the Judge ask any question which it would be improper for any other person to ask under section 148 or 149; nor shall he dispense with primary evidence of any document, except in the cases hereinbefore excepted.
Title: Power of jury or assessors to put questions
In cases tried by jury or with assessors, the jury or assessors may put any questions to the witnesses, through or by leave of the Judge, which the Judge himself might put and which he considers proper.