How to adjust PDF width & height and delete blank pages?

Question:I have a SSRS report. When I tried to export to PDF it was taking 4 pages due to its width. where the 2nd and 4th pages were displaying one of my field from the table. So I tried to set the layout size in report properties as width=18in and height =8.5in.It gave me the whole table in a single page of PDF. But I am getting 2nd and 4th page blank. Is the way I am doing is incorrect or else how to get rid of that blank pages? Is there any solution on VeryPDF?

Answer: According to your description, I feel that you can scale PDF to proper size and then delete blank pages. If you feel adjusting PDF width and height is much more proper, you just need to delete blank pages. If so, please have a free trial of this software VeryPDF Advanced PDF Tools, by which you can either adjust PDF width & height and scale PDF then delete blank pages of PDF. There are two versions of this software on try and buy website, please download the command line version as the GUI version does not fulfill all the functions we need. Please check more information of this software on homepage,in the following part, I will show you how to use this software.

Step 1. Download Advanced PDF Tools Command Line

  • Please download the command line version and unzip it then you can call the executable file in MS Dos Windows.
  • Please feel free to download it as VeryPDF software allows you to free trial all software without any fee produced.

Step 2. Adjust PDF width & height and delete blank pages

  • Here is the usage for your reference:[options] { [-i ] "input-file" } "output-file"
  • When you need to adjust PDF width & height or scale PDF, please refer to the following command line templates and parameters:
    -J "Content scale"   : Extended scale PDF page content
  • pdftools -i "C:\input.pdf" -o "C:\output.pdf" -j "60% 70% true"   
    where the first parameter means to set page content to 60% of the page width and the second parameter to 70% of the page height, and the third parameter is a Boolean type value to set whether to center on page.
    Remark: if Width or Height equal zero, the value of Width or Height will be calculated automatically, maintain their original aspect ratio.
    eg.
    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"       //Height will be calculated automatically
    pdftools.exe -i C:\in.pdf -o C:\out.pdf -x "0 0 0 792" -j "0 792 true"       //Width will be calculated automatically

  • When you need to delete blank pages, please refer to the following command line template:
  • Remove pages from PDF file
    -&:
    pdftools -i "C:\input.pdf" -o "C:\output.pdf" "-&" "1,2-4,9"    

By this method, you can adjust PDF width and  delete blank pages. During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Random Posts

This entry was posted in Advanced PDF Tools and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!