Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (430)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
Running PdfMerge Quietly as Command Line Tool
How to run PdfMerge quietly as a command line tool. I want to run PdfMerge in a script without the user interface.
✍: FYIcenter.com
You can run Pdfmerge as command line tool using the syntax below:
\fyicenter\PdfMerge input.xml output.pdf
The input.xml file should contain all input files and options in an XML file format. Here is an example that exacts different ranges of pages from 11 input PDF files to build a single PDF with title, subjsct and bookmarks added:
<?xml version="1.0" encoding="utf-8"?>
<merge>
<file>
<path>c:\tmp\shell.pdf</path>
<pages>1-4</pages>
<bookmark>TITLE PAGE</bookmark>
</file>
<file>
<path>c:\tmp\shell.pdf</path>
<pages>5</pages>
</file>
<file>
<path>c:\tmp\compliance.pdf</path>
<pages>all</pages>
<bookmark>COMPLIANCE</bookmark>
</file>
<file>
<path>c:\tmp\shell.pdf</path>
<pages>6</pages>
</file>
<file>
<path>c:\tmp\summary.pdf</path>
<pages>all</pages>
<bookmark>TEST SUMMARY</bookmark>
</file>
<file>
<path>c:\tmp\shell.pdf</path>
<pages>7</pages>
</file>
<file>
<path>c:\tmp\shell.pdf</path>
<pages>8</pages>
<bookmark>DETAILED RESULTS</bookmark>
</file>
<file>
<path>c:\tmp\shell.pdf</path>
<pages>11</pages>
</file>
<file>
<path>c:\tmp\phasea.pdf</path>
<pages>all</pages>
<bookmark>PhaseA</bookmark>
<level>1</level>
</file>
<file>
<path>c:\tmp\shell.pdf</path>
<pages>12</pages>
</file>
<file>
<path>c:\tmp\phaseb.pdf</path>
<pages>all</pages>
<bookmark>PhaseB</bookmark>
<level>1</level>
</file>
<info>
<subject>Document Information</subject>
<title>Document Title Rev X</title>
</info>
</merge>
2015-05-26, 2153🔥, 0💬
Popular Posts:
What are "AutoCorrect Actions" in Microsoft Word? Should I disable it? "AutoCorrect Actions" are add...
How to insert a dynamic field code manually in Microsoft Word? I know how the field code works. If y...
How to download Mozilla Firefox 2.0? If you want to try Mozilla Firefox 2.0, you can follow this tut...
How to create a new PowerPoint presentation from a PowerPoint template? I have a PowerPoint template...
How to test I/O performance on INTEL SSDPEKKF256G8L SSD (Solid State Disk) with SQLIO? INTEL SSDPEKK...