

To do this you need to define a /EndPage procedure which sets the desired CropBox using a pdfmark, and send that before you process the PDF file. This isn't entirely non-trivial in your case each page has a CropBox (its not a single default for the entire document), so you need to override the CropBox on each page. If you don't want the CropBox to be preserved, you will have to construct a new CropBox Page or PAGES pdfmark and send it as PostScript. The reason the height is given differently is because the new MediaBox is inside the original CropBox, so it is the intersection of the two boxes being given. The MediaBox is in fact 612x792, ie exactly 8.5x11, which is what you wanted. Customize page size: check the radio button of Custom Page Size, and input the Width and Height in the unit of point. Use standard paper size: check the radio button of Page Size, and choose a paper size in the dropdown list. If you want to maintain the original images ratio, keep the 'Keep Proportions' option locked. Click Browse to choose and upload a PDF, or choose to enter a URL of an online PDF. Alternatively, you can resize your image by adjusting the percentage. Click the image resizer tool, then enter a new size for your image in the 'Width' and 'Height' fields. The output from pdfinfo is telling you the size of the PDF file, taking the CropBox into account. Click the button 'Resize Your Images Now' and upload an image you want to resize. Your problem is that the original PDF file contains a CropBox, which is retained by the Ghostscript pdfwrite device. I do not mind if it involves adding a little whitespace on either side.ĭouble conversion isn't a good plan, you potentially introduce problems at every step, especially since PostScript does not support the graphics model of PDF (in particular it does not support transparency) Please be sure that the page numbers still display when making this change. How can I force the PDF to be exactly 8.5 x 11? For Landscape pages: the top margin must be a minimum of 1 inch.

I have tried the solutions here and here but neither achieves what I require. It is effectively 8.3 x 11, not 8.5 x 11. Acrobat can size the pages of a PDF to fit the selected paper size. Notice that the output has the correct height but not the correct width. Here is pdfinfo on the original: Producer: Creo Normalizer JTP dPDFFitPage -q -sDEVICE=pdfwrite -sOutputFile=out.pdf \ gs -dFIXEDMEDIA -dBATCH -dNOPAUSE -sPAPERSIZE=letter \ You can use the following methods to create PDFs of custom size in Inches or Millimeters: Renderer. I am trying to convert it to standard letter size (8.5 x 11) using the following command.
