add error and warning output
check for minimum pdf page size