Hi,

Can someone point me to where the syntax
for specifying Source and Destination files
in Pdfbox PdfMerger is documented?

I checked
http://pdfbox.apache.org/commandline/#pdfMerger

and its not clear how I should specify the Source parameter. Should I use
the word Source itself? Should I use Source= and specify a comma separated
list of Source files?

I tried to run
java -jar pdfbox-app-1.8.2.jar PDFMerger
and I get output as
Usage: java -jar pdfbox-app-x.y.z.jar PDFMerger
<Source PDF File 2..n> <Destination PDF File>
<Source PDF File 2..n>       2 or more source PDF documents to merge
<Destination PDF File>       The PDF document to save the merged documents
to

Still not clear how I should specify Source and Destination?

Also, the document at apache.org refered in the url above, seems to use the
word 'Target' instead of 'Destination'.

I then tried to run
java -jar pdfbox-app-1.8.2.jar PDFMerger Source 1.pdf,2.pdf Destination
3.pdf

and got a FileNotFoundException even though 1.pdf 2.pdf both reside in the
current folder.

I guess it is looking for the filename named Source itself?

Thanks,
Mohan

Reply via email to