PDF OPTIMIZER

PDF OPTIMIZER

PDF OPTIMIZER is a simple scriptable server tool for Windows or Linux 64 bit platforms that allows you to rework a PDF document so that it will download faster or open more quickly in a browser window. Usually, optimizing a PDF document makes it smaller, and a smaller PDF document is easier to manage. If your goal is to edit a PDF document so that it can be more easily sent out as an attachment to an email message or to allow for faster paging online, you could use PDF OPTIMIZER to reduce the size of the PDF document from, say, 8 MB to 1.5 MB. But optimizing can improve the performance of a PDF document without necessarily making that document smaller. The optimization process can discard objects and features within a PDF document that require excess processing time, making the file more efficient. A complicated PDF document with a lot of features will tend to take more time to load, regardless of the size.

How to use PDF OPTIMIZER

You can enter a PDF OPTIMIZER statement from a command prompt, and manually optimize one PDF document at a time. Or you could add a PDF OPTIMIZER command statement to a batch file. With a batch file you can create a workflow that uses PDF OPTIMIZER to optimize large numbers of PDF documents automatically. In this case you might need to write some JavaScript or Python code to automatically generate a series of command line statements, each with a unique name for the input PDF document and the output file. But PDF OPTIMIZER is still a quick and easy way to convert a set of PDF files to make them easier to distribute.

When you run PDF OPTIMIZER, the program takes the input PDF document you provide, optimizes it, and then saves it as a new output PDF document. You can provide a variety of custom settings and variables to tell PDF OPTIMIZER exactly how you want the system to manage each PDF document. For example, you can make a PDF smaller by choosing to downsample the images found in that document. Downsampling an image reduces the resolution of that image and reduces its size as well. Or you could add a setting to a profile file that tells PDF OPTIMIZER to discard bookmarks within a PDF document, or attached files.

The PDF OPTIMIZER Profile

The custom settings that you provide to PDF OPTIMIZER to manage the process are all defined in a profile file. The profile is a JSON file that you need to name in the command line statement. By including your custom settings in a profile file, creating a command line statement with PDF OPTIMIZER is a lot easier.

We provide two default profile files with the product, standard.json and mobile.json. Feel free to edit these files or create your own, but the content of your profile file must be valid JSON content. You can name your profile files whatever you like, and store them wherever you want to. But the profile must be a JSON file, and we recommend that when you name a profile file you include the “.json” file extension. JSON, or JavaScript Object Notation, is an open standard file format that relies on easily readable English text, and it is used as an alternative to XML.

You can use the JSON validator JSONlint to check your JSON syntax.

PDF CHECKER

Note that when you install PDF OPTIMIZER, you can also install a separate utility as well called PDF CHECKER. PDF CHECKER is a simple scriptable server tool for 64-bit Windows and Linux platforms that allows you to quickly scan a PDF document or set of documents to look for problems, or to simply identify features within a document that are likely to get in your way if you want to use the PDF efficiently. Then, you can use this knowledge of your PDF documents to enhance them using PDF OPTIMIZER.  The two tools are designed to work together.

If you install PDF OPTIMIZER in Windows, you will see an installation screen called Select Additional Tasks.  Here you can check a box to Install PDF CHECKER. The box is checked by default, so PDF CHECKER will install with PDF OPTIMIZER unless you decide otherwise.

If you install PDF OPTIMIZER in Linux, a self-extracting script installer will be provided in the tar.gz installation file. Look for a .bsx file named “PDFCHECKER.” If you run this file you will be prompted to accept a license agreement, and then PDF CHECKER will be installed separately.

Installing PDF OPTIMIZER

When you first purchase PDF OPTIMIZER, you will receive an activation key, and you will be prompted to enter this key when you install the software. In response the system generates a license file for you (pdf2optimizer.lic) and stores it in the software working directory.

If you later receive a new activation key for PDF OPTIMIZER, you will need to enter it as you did your original activation key when you first installed the product. Delete the license file from the working directory and then run the Windows executable, pdfoptimizer.exe, or use the Linux command ./pdfoptimizer. You will be prompted to enter the activation key. Type or paste the key value as you did before. The system will create a new license file for you, and you can continue to use the product.