How to automatically batch compress PDF files
Autobahn DX allows users to set up and customize workflows with ease and run them automatically. It also works well when processing large volumes of documents and can compress many documents to reduce the file size. Here’s an example of how you can batch-compress multiple documents using Autobahn DX’s hyper-compression step.
1. Create a new job.
Click Create New. Fill in the Source Folder and Destination Folder fields by clicking the magnifying glass to the right of these fields. The source (input) folder is where all the files you want to merge should go. The destination (output) folder will initially be empty, but it’s where all the merged files will end up.
2. Select the Modern Compress PDF step.
Go to the PDF Operations menu in the left-side nav bar and select the Modern Compress PDF step.
Click on the step to see all the different options for reducing a file size.
There are many different options for removing annotations, blank pages, metadata, and bookmarks. These can take up a lot of room. There is also an option to downscale resolution.
In this example, we will leave the default settings. Once you set up the job, click on the Save button.
3. Set up the job to run automatically.
In the Job Manager , you can see that this job type is set up as an ad hoc by default. That means, it needs to be run manually for the job to start.
Go back to the Designer and in the Schedule tab set this job as continuous. In this example, it is set to run every minute with larger volumes of documents. However, in practice, if you have larger sets of files, we recommend doing larger intervals.
4. Set the input files to move to an archive.
A common issue people initially encounter when setting up a job is that their input files stay in the input location. As a result, when they’re continuously processing that folder, those files are continuously processed. To prevent this, you should move them to an archive so that they’re no longer processed. After the files have been picked up the first time, go to the Processing tab under the Designer menu to set your archive location. Save the job.
5. Checking the job.
Go to the Job Manager to follow the compression process. It shouldn’t take long as the compression is a fast process. In this example, we put three files in the input folder and we can soon see the results in the output folder. Each file has a much lower size, from five-digit numbers to four-digit numbers. What is even more important, the quality of the files stays the same, but the size is reduced almost by half.
Conclusion If you want to try these steps yourself, download the free trial of Autobahn DX and make your documents searchable. Or, if you prefer to see these steps in action, check out our video tutorial below.