HTML to PDF/RTF Java converter and tools › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › PDF merge failing with .net library This topic has 7 replies, 2 voices, and was last updated Nov 06, 201714:56:45 by Anonymous. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts Anonymous September 2, 2017 at 22:56 #27152 Hello, we are trying to merge a pre-existing pdf with the pdf we generated using pd4ml(recently purchased a volume license – .net version) We are receiving following exception while doing so… can you please help.. this is high priority for our release next week.. hence would be great if we could get the response as soon as possible. Error message : “PDF Merge: Parsing of PDF failed: Parse error at . Encountered: > 7676″ Stack trace : ” at org.zefer.pd4ml.PD4ML.e()rn at org.zefer.pd4ml.PD4ML.f()rn at org.zefer.pd4ml.PD4ML.render(Uri url, StreamWriter os)rn at org.zefer.pd4ml.PD4ML.render(String textUrl, Stream os)rn at SpecDeck.Helpers.Utilities.GeneratePDF(String presentationId, String orientation, Boolean customise, String presentationRoomId, String pageNumber) in D:\Projects\Sprint3-ManageRoomsProducts\SpecDeck\Helpers\Utilities.cs:line 660″ -Ganesh M. Anonymous September 4, 2017 at 01:35 #30062 Also in .Net library we couldn’t find a type called pd4document.. but looks like this is available in the java library, as shown here http://www.pd4ml.com/cookbook/pd4ml_pdf_merge.htm PD4Document doc1 = new PD4Document(new URL(“file:c:/pdfs/doc1.pdf”), null); int pagenum = doc1.getNumberOfPages(); … PD4Document doc2 = new PD4Document(new URL(“file:c:/pdfs/doc2.pdf”), null); pagenum = doc2.getNumberOfPages(); … doc2.append(doc1); pagenum = doc2.getNumberOfPages(); … File f = new File(“c:/pdfs/result.pdf”); FileOutputStream fos = new FileOutputStream(f); doc2.write(fos); Anonymous September 6, 2017 at 17:20 #30063 Hello, any response here? PD4ML September 7, 2017 at 10:30 #30064 As PD4Document interface is not ported to .NET yet, for the time being the only solution is to use Java API for doc merging. We’ll start porting of the doc merging functionality to .NET only after PD4ML v4 Java is released (in 2-4 weeks) Anonymous September 7, 2017 at 12:16 #30065 What would be the timeline for this porting? can I assume by end of this month? PD4ML September 8, 2017 at 06:50 #30066 Unfortunately not. The porting will take a couple of months. Anonymous October 3, 2017 at 15:49 #30067 hello, will this be available by end of month? currently we are depending on third party library to merge documents, which we want to get rid of asap. if you can provide exact date by which this can be completed.. I can ping back -Ganesh M. Anonymous November 6, 2017 at 14:56 #30068 Hello, Has this been done? if yes, how can we download the new version? if no, when can we expect this to be released? -Ganesh M. Author Posts Viewing 8 posts - 1 through 8 (of 8 total) The forum ‘General questions / FAQ’ is closed to new topics and replies.