enhance error message of toPPM
render the screen coordinates