Bit of printf cleanup
Macroize printf to make it easy to implement different variants.