Fixed setPrintMode()/unsetPrintMode() bugs.

Assign values to charHeight are switched.
And, assignment to charHeight and maxColumn should be performed in unsetPrintMode method.