println content of buffer