Quoting Daniel Zhang <[EMAIL PROTECTED]>:

> Hi, All -
> 
> I wonder if there are Java API or tools do PDF merge thing.  I need to
> 
> merge or concatenate several individual PDF
> files into one single PDF file.  I appended them(read and write) into 
> one big PDF file but Acrobat Reader only shows the last one,
> though the size of big PDF file equals the totals of individual PDF
> files.
> 
> I tried to get rid of the PDF headers and trailers between PDF files, 
> but Acrobat Reader still do not show correctly. Any
> suggestions?

Perhaps someone else can give a Java answer, but I can give a pointer to the technical 
answer.  
Ghostscript (http://www.cs.wisc.edu/~ghost/) can do the merge for you with a command 
line like 
this:

gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=Merged.pdf -dBATCH 1.pdf 2.pdf 3.pdf


_______________________________________________
Juglist mailing list
[EMAIL PROTECTED]
http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to