— The plaintiffs brought suit in the district •court for Cassia county to restrain defendant from using the waters of Eaft river from the first day of October tp the first day of April. Upon the filing of plaintiffs’ complaint, an order to show cause at the town of Hailey, in Blaine county, Idaho, on the fifth day of December, 1895, why an injunction should not issue as prayed, was issued, and duly served upon the defendant. The complaint of plaintiffs was filed on November 6, 1895. The order to show cause was issued on November 13, 1895. The answer of defendant, specifically denying the allegations of the complaint, was filed on November 36, 1895. Upon the hearing upon the order to show cause, an injunction was issued as prayed in plaintiffs’ complaint. From the order of the court directing the issuance of such injunction an appeal was taken by defendant to this court, which reversed said order, and remanded said cause to the district court for Cassia county for further proceedings in accordance with the decision of this court therein. It seems, on the coming down of the remittitur from the supreme court to the district court, the defendant filed in said district court his memorandum of costs upon the appeal, as well as upon the hearing upon the said order to show cause. No other proceedings appear to have been taken in the district court upon the original case. On February 10, 1897, plaintiffs filed a motion in said district court to retax costs. Said motion was heard before the judge of said district court, and on the 14th of September, 1897, said judge made an order striking out and disallowing from said memorandum of costs, so as aforesaid filed by defendant, the item of seventy-five dollars included therein for reporter’s fees. Subsequently, and as would seem from the record, at the September term of said district court for Cassia county, the plaintiffs moved the court to retax the said costs by striking from the memorandum of costs filed by defendant the sum included therein for mileage of witnesses on the part of defendant, who appeared and testified upon the hearing upon the order to show cause as aforesaid. Upon the hearing of said motion the said court did make an order limiting the allowance for mileage to witnesses on the part of defendant to thirty-two miles’ travel in each ease. The defendant ap*33peals from the action and orders of the district court in so reducing the amount of defendant’s memorandum of costs.
The first error charged by appellant is in the action of the district judge in striking from the appellant’s memorandum of costs, and disallowing, the charge of seventy-five dollars paid by appellant to the court stenographer for a copy of the evi-' dence taken upon the hearing on the order to show cause. Section 5 of the act of March 8, 1895, in relation to court stenographers of district courts, provides: “It shall be the duty of each reporter to furnish on the application of ... . any party to a suit in which a stenographic record has been made, a typewritten copy of the record, or any part thereof, for which he shall be entitled to receive in addition to his salary a fee of fifteen cents per hundred words, to be paid by the party requesting the same and to be taxed as costs in the case against the party finally defeated in the action.” Respondents contend that as this was not a trial before the court, but a proceeding before the judge at chambers upon a motion to show cause, the provisions of said section 5 do not apply, and this appears to have been the view of the district judge. We cannot agree with this conclusion. The statute says nothing about a trial; the ■only designation is, “a suit in which a stenographic record has been made.” The suit instituted by plaintiffs was for the sole purpose of procuring an injunction to restrain appellant from using the waters of Raft river during a certain period, to wit, between the first day of October and the first day of April. By •order of the court this ■ question was heard and determined before the district judge of Hailey, in Blaine county. No other trial or hearing was ever had in the ease. The whole matter was then and there heard and determined, so far as the district court was concerned. The stenographer is an officer of the district court, and as such is presumed to be in attendance upon the court, or the judge thereof, whenever his attendance is required. It will scarcely be contended, we apprehend, that the district judge would dispense with the services of the stenographer upon a hearing of the character, importance and extent of the one in this case. The making of a “stenographic record” in this case was indispensable to a proper consideration of the case by the *34judge, and, such “stenographic record” having been made, the appellant was entitled to a copy thereof on payment to the reporter of the fees thereof prescribed by law. Such copy being necessary to the appellant in the preparation of his appeal or bill of exceptions, and having paid the same, and having finally prevailed in the action, he is entitled to tax the same as costs against the plaintiff. The statute is plain and unambiguous, and, the appellant having brought himself clearly within its provisions, he is entitled to the benefits thereof.
From an examination of the section of the statute last quoted, it will, we think, be apparent that the incurring of costs in a proceeding like that under consideration is largely within the discretion of the parties litigant, and it would therefore be impracticable to enunciate an arbitrary rule to govern the allowance of costs in all cases arising under that statute. The ease is one in equity. The complaint sought an injunction, and that only. The court ordered the hearing upon the order to show cause to be heard at Hailey, Blaine county, some two hundred miles distant from the place where the action was pending, to wit, Albion, Cassia county. Before the time set for the hearing upon the order to show cause, to wit, on November 26, 1895, the defendant filed his duly verified answer, specifically denying all of the material allegations of the complaint. At the hearing of the motion to show cause the case stood upon complaint and answ'er. No affidavits had been filed or served by plaintiffs, as contemplated by section 4297 of the Revised Statutes. It will, we think, be apparent, from an examination of this section of' our statutes, that it is not contemplated therein that any hearing, either upon an order to show cause or an application to> dissolve an injunction as in said section provided for, shall be heard otherwise than upon the pleadings in the case and affidavits filed in support thereof, except as in said section provided, where, upon notice by the adverse party, the moving-party is required “to produce at the hearing, for cross-examination before the court or judge, the affiants of the affidavits upon which he relies for the injunction or to resist the application for its dissolution.” It is only when the party opposing the motion or required to respond to the order to show cause has. *35by notice required the moving party to produce the affiants of his affidavits, at the hearing for cross-examination, that such opposing party is authorized or required by the statute to produce witnesses upon the hearing. Under the conditions existing at the time of the hearing, the case being upon complaint and answer, and the answer having fully and positively denied all of the allegations of the complaint, the defendant would, on motion, have been entitled to a dismissal of the restraining order, and a refusal of the preliminary injunction prayed for in plaintiff’s complaint. The fact that this course was not pursued by defendant leads us to believe that the course that was taken was the result of some agreement or understanding between the parties. If this were so, it would be inequitable to permit the plaintiffs to evade the payment of costs incurred by defendant by reason of or through the acts of plaintiffs. If the defendant had not produced his witnesses at the hearing, which under the statute he was not compelled to do, a continuance of the hearing would have been inevitable. This would have involved delay which it is reasonable to presume would have been undesirable to plaintiffs. No affidavits having been filed or served by plaintiffs, they consequently not having been required by the defendant to produce the affiants of the affidavits for cross-examination by defendant, plaintiffs would not, we think, in the event of their having prevailed, been entitled, under the statute, to tax the cost of procuring the attendance of their witnesses against defendant. Upon such hearing, in our opinion, neither party is entitled to recover witness fees, unless he is required to produce such witnesses as provided in the statute, or the witnesses are produced under an agreement, by the consent of both parties. In this case the conduct of both parties seems clearly to indicate an agreement or understanding that the hearing should be had, as it was, without a compliance by either party with the exigencies of section 4297 of the Revised Statutes. Assuming, as we think from the record we are authorized to do, these conditions, we must decide the question of costs as we think the conditions of this case equitably demand. The production of his witnesses by the defendant having, as we are permitted to presume, been agreed to *36by plaintiffs, and the convenience of the plaintiffs having been served thereby, we deem it no more than just and equitable that the cost of their production should be borne by the plaintiffs, they having failed to establish their case. The objection that the mileage of witnesses in this case should he limited to the distance they could have been compelled to come upon process is not, we think, well taken. As before stated, the hearing seems to have been had by consent or agreement of the parties, and in such cases the provisions of the statute in that regard do not apply. (Briggs v. Rumely, 96 Iowa, 2902, 64 N. W. 784; Alexander v. Harrison, 2 Ind. App. 47, 28 N. E. 117.) It is evident the taking of depositions to be used on the hearing upon the order to show cause was impracticable. The judgment and the order of the district court is' reversed, and the cause remanded to the district court, with instructions to allow the reporter’s fees and cost of witnesses, as in the memorandum of defendant.
Sullivan, C. J., and Quarles, J., concur.