I have PDFs that are too big. The page size is 3 feet by 2 feet.
I want them to change to PDFs that are 8.5 x 11.
What are the command line switches to make this happen? resize height and height and the width ones are not working.
Thank you,
Customer
----------------------------------------
Please look at following web page for more information,
Thanks for your message, you may download "Advanced PDF Tools Command Line" from following web page,
https://www.verypdf.com/app/advanced-pdf-tools/try-and-buy.html
https://www.verypdf.com/pdfinfoeditor/advanced_pdf_tools_cmd.zip
Please refer to the user manual from following web page,
https://www.verypdf.com/pdfinfoeditor/pdf-tools-command-line.htm
You can run following command line to resize your PDF pages to Letter paper size,
pdftools.exe -i C:\in.pdf -o C:\out.pdf -x "0 0 612 792" -j "612 792 true"
pdftools.exe -i C:\in.pdf -o C:\out.pdf -x "0 0 612 0" -j "612 0 true" //ury (Height) will be calculated automatically
pdftools.exe -i C:\in.pdf -o C:\out.pdf -x "0 0 0 792" -j "0 792 true" //urx (Width) will be calculated automatically
You can run following command line to resize your PDF pages to A3 paper size,
pdftools.exe -i C:\in.pdf -o C:\out.pdf -x "0 0 842 1190" -j "842 1190 true"
pdftools.exe -i C:\in.pdf -o C:\out.pdf -x "0 0 842 0" -j "842 0 true" //ury (Height) will be calculated automatically
pdftools.exe -i C:\in.pdf -o C:\out.pdf -x "0 0 0 1190" -j "0 1190 true" //urx (Width) will be calculated automatically
You can run following command line to resize your PDF pages to A4 paper size,
pdftools.exe -i C:\in.pdf -o C:\out.pdf -x "0 0 595 842" -j "595 842 true"
pdftools.exe -i C:\in.pdf -o C:\out.pdf -x "0 0 595 0" -j "595 0 true" //ury (Height) will be calculated automatically
pdftools.exe -i C:\in.pdf -o C:\out.pdf -x "0 0 0 842" -j "0 842 true" //urx (Width) will be calculated automatically
"-x" parameter will set paper width and height for every page in your PDF file, you can set either width or height to 0, the another parameter will be calculated automatically.
"-j" parameter will scale paper content automatically, you can set either ScaleX or ScaleY to 0, the another parameter will be calculated automatically.
The unit of -x and -j is Point, you need convert from inch to point unit, for example,
8.5inch = 8.5x72 = 612pt
11inch = 11x72 = 792pt