pdf: Ensure a paper size is set