Added %x, %X, %c and %i to printf.

Signed-off-by: Campbell Watson <campbell-watson@outlook.com>