PdfMerge Console App

The PdfMerge console app is a based on the PDFsharp and MigraDoc libraries (http://www.pdfsharp.net/)

The source is available from TFS: $/Unity Mental health/Dotnet/SilverlinkPdfMerge/trunk

There is a build configured on TeamCity at: http://build.silverlinksoftware.com:8080/project.html?projectId=MergePdf

To get the latest release you can download a zip file from the Artifacts tab of the latest TeamCity build.

Installation of the app simply requires unzipping the content to a folder on the local machine (as long as the dotnet 4 framework is installed - which should be the case)

The app takes the following arguments:

Example usage:
 * SilverlinkPdfMerge.exe --pdfdir c:\temp\pdf_test\5.4 --input "Associated Person.pdf" "CAF CAPA.pdf" "Eating Disorder.pdf" --output c:\temp\pdf_test\out.pdf --replace --title "Merged Release Notes" --author "Mr User" --contents --numberpages

Example with wildcard: Example with document titles: When generating the Bookmarks and Contents page it needs a title for each document. It first looks for a title in the input parameter, if none is found it looks for at the Input Pdf Document's title property. If the property is not set it uses the filename, replacing _ with spaces and adding spaces before capital letters.
 * SilverlinkPdfMerge.exe --pdfdir c:\temp\pdf_test\5.4 --input *.pdf --output c:\temp\pdf_test\out.pdf --replace --title "Merged Release Notes" --author "Mr User" --contents --numberpages
 * SilverlinkPdfMerge.exe --pdfdir c:\temp\pdf_test\5.4 --input "Associated Person@assocper.pdf" "CAF CAPA@534534234.pdf" "Eating Disorder@eat123.pdf" --output c:\temp\pdf_test\out.pdf --replace --title "Merged Release Notes" --author "Mr User" --contents --numberpages