printing cursor