PDF compress command line is an interface tool to fulfill part of the functions of Advanced PDF Tools such as optimizing PDF files and compressing images. It is an advanced tool tailored for your swift and high-level optimizing PDF file. Compared with other tools, it holds a striking advantage--- reducing PDF size while maintaining accessibility and search engine visibility. The rest part of this article will show you how to remove PDF bookmarks to reduce PDF size using Advanced PDF Tools Compress Command Line.
First step—Downloading Advanced PDF Tools
Follow this link you will obtain Advanced PDF Tools
https://www.verypdf.com/pdfinfoeditor/advanced_pdf_tools_cmd.zip
The whole package is just of 3.04 MB, you can download it swiftly, do remember to extract it, for it is a zipped package.
Second step—Configuring file “compress.ini“
This step is critical, for it contains the optimizing and compressing options list, details are as follows:
1) open the Advanced PDF Tools folder and find file “compress.ini”
2) open the file “compress.ini” and find “removebookmarks=1”
where
- removebookmarks=1 --- remove embedded file from the input,
- removebookmarks=0 --- retain embedded file.
3) save the file “compress.ini”
Third step—Launching MS-DOS command prompt window
You have to launch MS-DOS command prompt window. Because the compress command line is bound to be operated under the MS-DOS environment. The procedure is easy, and the following pictures will guide you.
press “start”>choose “Run”>input “cmd”>press “ok”
when you see below, you will have the MS-DOS command prompt window
Fourth step—Inputting compress command line
Input the compress command line to remove PDF bookmarks to reduce PDF size
it goes below
pdfcompress.exe -i C:\input.pdf -o C:\output.pdf
where
- the option -i is to input a PDF file,
- the option -o is to specify a destination file.
When the input is done, press “enter” key, you will finish the task to remove PDF bookmarks to reduce PDF size.
Fifth step—Checking result