added console.log to output old values, new values and printer resize value