Using the specified pageSize in the PDF context.

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