Printing encoder values.