In addition to or in lieu of any of the above, the court shall order the defendant to submit to and complete an alcohol and drug evaluation, and pay a fee therefor, when required by subsection (d) of K.S.A. 21-6602, and amendments thereto.
In addition to any of the above, the court shall order the defendant to reimburse the state general fund for all or a part of the expenditures by the state board of indigents' defense services to provide counsel and other defense services to the defendant. In determining the amount and method of payment of such sum, the court shall take account of the financial resources of the defendant and the nature of the burden that payment of such sum will impose. A defendant who has been required to pay such sum and who is not willfully in default in the payment thereof may at any time petition the court which sentenced the defendant to waive payment of such sum or any unpaid portion thereof. If it appears to the satisfaction of the court that payment of the amount due will impose manifest hardship on the defendant or the defendant's immediate family, the court may waive payment of all or part of the amount due or modify the method of payment. The amount of attorney fees to be included in the court order for reimbursement shall be the amount claimed by appointed counsel on the payment voucher for indigents' defense services or the amount prescribed by the board of indigents' defense services reimbursement tables as provided in K.S.A. 22-4522, and amendments thereto, whichever is less.
In imposing a fine the court may authorize the payment thereof in installments. In releasing a defendant on probation, the court shall direct that the defendant be under the supervision of a court services officer. If the court commits the defendant to the custody of the secretary of corrections or to jail, the court may specify in its order the amount of restitution to be paid and the person to whom it shall be paid if restitution is later ordered as a condition of parole or conditional release.
The court in committing a defendant to the custody of the secretary of corrections shall fix a maximum term of confinement within the limits provided by law. In those cases where the law does not fix a maximum term of confinement for the crime for which the defendant was convicted, the court shall fix the maximum term of such confinement. In all cases where the defendant is committed to the custody of the secretary of corrections, the court shall fix the minimum term within the limits provided by law.
K.S.A. 21-6702