pageSize bug fix

Previously, the pageSize was being ignored and all PDFs were coming out
as 8.5" x 11".