Change index for printtext