consoles: Direct: Added a method printState(self, state).

This method is required for all outputs.