Routine to print correctly on X