a better map printing prototype