<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : Merging pdf files produces unexpected results</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : Merging pdf files produces unexpected results]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Jul 2026 08:25:03 +0000</pubDate>
  <lastBuildDate>Wed, 02 Oct 2013 13:44:49 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=2723</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[Merging pdf files produces unexpected results : Mel,You could try the following...]]></title>
   <link>http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11238.html#11238</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2723<br /><strong>Posted:</strong> 02 Oct 13 at 1:44PM<br /><br /><div>Mel,</div><div><br></div>You could try the following ideas which I have not tested but in theory they should work well.<div><br></div><div>int id = NewContentStream();</div><div><br></div><div>QP.SelectContentStream(id);</div><div>SetContentStreamFromString("%% Custom Comment" + " \r");</div><div><br></div><div>This will add a PDF comment to a new content stream. &nbsp; You can then extract the content contents using</div><div><br></div><div>id = QP.GetContentStreamCount();</div><div>QP.SelectContentStream(id);</div><div><br></div><div>QP.GetContentStreamToSting;</div><div><br></div><div>You can then check the first few characters of the comment string to see if it matches your comment format.</div><div><br></div><div>I haven't had time to try this but if for some reason the merge process combines the content streams then you would have to put the comment at the very front.</div><div><br></div><div>QP.MoveContentStream(id, 1); &nbsp;// Move to the first position.</div><div><br></div><div>Andrew.</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 02 Oct 2013 13:44:49 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11238.html#11238</guid>
  </item> 
  <item>
   <title><![CDATA[Merging pdf files produces unexpected results : Thank you for your suggestion,we...]]></title>
   <link>http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11232.html#11232</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2454">Mel</a><br /><strong>Subject:</strong> 2723<br /><strong>Posted:</strong> 02 Oct 13 at 9:01AM<br /><br />Thank you for your suggestion,<div>we have already applied such a technique and are testing it. We wrote some fully transparent <i>tags</i>/text</div><div>(SetTransparency(100)) on the original files and looked for them in the resulting pdf file.</div><div>However, we were looking for a solution that would have avoided the physical writing of the original file pages.</div><div>We haven't found one yet.</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 02 Oct 2013 09:01:04 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11232.html#11232</guid>
  </item> 
  <item>
   <title><![CDATA[Merging pdf files produces unexpected results : one possible trick is to write...]]></title>
   <link>http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11230.html#11230</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1532">HNRSoftware</a><br /><strong>Subject:</strong> 2723<br /><strong>Posted:</strong> 01 Oct 13 at 10:10PM<br /><br />one possible trick is to write a string of identifiable characters in white text on white background and then extract the text of the resulting file and see if it is there.&nbsp; It should not be visible to the person viewing the document, but yet be fetchable.<br>]]>
   </description>
   <pubDate>Tue, 01 Oct 2013 22:10:19 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11230.html#11230</guid>
  </item> 
  <item>
   <title><![CDATA[Merging pdf files produces unexpected results : Thank you for your suggestions,but...]]></title>
   <link>http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11213.html#11213</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2454">Mel</a><br /><strong>Subject:</strong> 2723<br /><strong>Posted:</strong> 26 Sep 13 at 10:39AM<br /><br />Thank you for your suggestions,<div>but I need to write some information on all files to be merged that I would find in the resulting pdf file.</div><div>For instance</div><div><br></div><div>Set Info1 on File1</div><div>Set Info2 on File2</div><div>MergeFileList File1 &amp; File2 into FileMerge</div><div>Get Info1 from FileMerge would succeed</div><div>Get Info2 from FileMerge would succeed</div><div><br></div><div>Is there any information I can write into File1 &amp; File2 that MergeFileList retains in FileMerge ?</div><div>I tested the Set/GetCatalogInformation functions and, unfortunately, the resulting file preserves</div><div>catalog information from the <b>first</b> file only.</div>]]>
   </description>
   <pubDate>Thu, 26 Sep 2013 10:39:01 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11213.html#11213</guid>
  </item> 
  <item>
   <title><![CDATA[Merging pdf files produces unexpected results : I you looked at MergeFileListFast....]]></title>
   <link>http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11212.html#11212</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=121">Wheeley</a><br /><strong>Subject:</strong> 2723<br /><strong>Posted:</strong> 26 Sep 13 at 3:16AM<br /><br />I you looked at MergeFileListFast. It gives back a list which states which files could be merged.<br><br>Wheeley<br>]]>
   </description>
   <pubDate>Thu, 26 Sep 2013 03:16:41 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11212.html#11212</guid>
  </item> 
  <item>
   <title><![CDATA[Merging pdf files produces unexpected results : Hi Mel!Have a look at the Stor...]]></title>
   <link>http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11209.html#11209</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2723<br /><strong>Posted:</strong> 25 Sep 13 at 8:08PM<br /><br />Hi Mel!<div><br></div><div>Have a look at the StoreCustomDataFrom...-functions:</div><div><a href="http://www.quickpdflibrary.com/help/quickpdf/StoreCustomDataFromString.php" target="_blank" rel="nofollow">http://www.quickpdflibrary.com/help/quickpdf/StoreCustomDataFromString.php</a></div><div>They're offering personal metadata for you.</div><div><br></div><div>Cheers, Ingo</div>]]>
   </description>
   <pubDate>Wed, 25 Sep 2013 20:08:05 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11209.html#11209</guid>
  </item> 
  <item>
   <title><![CDATA[Merging pdf files produces unexpected results : Hi Andrew,  we are trying to...]]></title>
   <link>http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11206.html#11206</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2454">Mel</a><br /><strong>Subject:</strong> 2723<br /><strong>Posted:</strong> 25 Sep 13 at 11:13AM<br /><br /><span style="font-family: Arial; font-size: small; line-height: 1.4;">Hi Andrew,</span><div><font face="Arial" size="2"></font>&nbsp;</div><div><font face="Arial" size="2">we are trying to add some code&nbsp;to our application to check the pdf files resulting from a merge operation. We are thinking of <em>attaching a sort of&nbsp;tag</em> to all individual files to be merged</font></div><div><font face="Arial" size="2">before the actual merge operation takes place and looking for these <em>tags</em>&nbsp;in the resulting </font><font face="Arial" size="2">pdf file. Do you know what kind of&nbsp;<em>tag</em>&nbsp;(</font><span style="font-family: Arial; font-size: small; line-height: 18px;">information)&nbsp;</span><span style="font-family: Arial; font-size: small; line-height: 1.4;">we can write in the original pdf files ?</span></div><div><font face="Arial" size="2">Or do you have a better idea on how to check the resulting pdf file for the content of the original files ?</font></div><div><font face="Arial" size="2"></font>&nbsp;</div><div><font face="Arial" size="2">We really look forward to your help.</font></div><div><font face="Arial" size="2">Regards</font></div><div><font face="Arial" size="2"><br></font></div>]]>
   </description>
   <pubDate>Wed, 25 Sep 2013 11:13:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11206.html#11206</guid>
  </item> 
  <item>
   <title><![CDATA[Merging pdf files produces unexpected results : 1. Firstly I would suggest downloading...]]></title>
   <link>http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11177.html#11177</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2723<br /><strong>Posted:</strong> 12 Sep 13 at 11:07AM<br /><br />1. Firstly I would suggest downloading the 7.26 version to see if the problem resolves itself. &nbsp;7.26 is a free upgrade for all 7.xx license key holders.<div><br></div><div>http://www.quickpdflibrary.com/downloads/binaries/qp/oldversions/0726/quick_pdf_library726.exe</div><div><br></div><div><br></div><div>2. I have seen some very corrupt PDF files where even Acrobat displays the wrong page. &nbsp;The PDF has copies of data for 3 pages but only reports 1 page existing in the file. &nbsp;</div><div><br></div><div>If you still have a problem you would need to manually extract the problem PDF files to disk and create a support ticket by emailing the files and a problem description to support@debenu.com</div><div><br></div><div>Andrew.</div><div><br></div>]]>
   </description>
   <pubDate>Thu, 12 Sep 2013 11:07:07 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11177.html#11177</guid>
  </item> 
  <item>
   <title><![CDATA[Merging pdf files produces unexpected results : Hi,we have a VB6 application that...]]></title>
   <link>http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11153.html#11153</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2454">Mel</a><br /><strong>Subject:</strong> 2723<br /><strong>Posted:</strong> 02 Sep 13 at 9:31AM<br /><br />Hi,<div>we have a VB6 application that merges a series of invoice pdf files with their corresponding delivery notes.</div><div>Both invoice and delivery note information are stored in sql server tables along with their file names.</div><div>We recently found out that the content of some pdf files resulting from the merge operation are not related to</div><div>the supplier the invoice record refers to. It seems like the merge operation has failed to merge the correct files.</div><div>Here's the pseudo-code we use with the ActiveX v.7.21 of the library:</div><div><br></div><div>&lt;Open resultset RS&gt;</div><div><br></div><div>If RS.EOF Then</div><div>&nbsp; &nbsp;&lt;Exit Function&gt;</div><div>End If</div><div><br></div><div>On Error Resume Next</div><div>Set QuickPDF = CreateObject("QuickPDFAX0721.PDFLibrary")</div><div>If err.Number &lt;&gt; 0 Then</div><div>&nbsp; &nbsp;&lt;Error handling&gt;</div><div>End If</div><div>On Error GoTo 0</div><div><br></div><div>If QuickPDF.UnlockKey("...") = 0 Then</div><div>&nbsp; &nbsp;&lt;Error handling&gt;</div><div>End If</div><div>...</div><div>If QuickPDF.AddToFileList(FileListName, &lt;FileName&gt;) = 0 Then</div><div>&nbsp; &nbsp;&lt;Error handling&gt;</div><div>End If</div><div>...</div><div>If QuickPDF.AddToFileList(FileListName, &lt;FileName&gt;) = 0 Then</div><div>&nbsp; &nbsp;&lt;Error handling&gt;</div><div>End If</div><div><br></div><div>RS.MoveNext</div><div>While Not RS.EOF</div><div><br></div><div>&nbsp; &nbsp;If &lt;Key changes&gt; Then</div><div>&nbsp; &nbsp; &nbsp; MergedFilesCount = QuickPDF.MergeFileList(FileListName, &lt;FileName&gt;)</div><div>&nbsp; &nbsp; &nbsp; If MergedFilesCount &lt; QuickPDF.FileListCount(FileListName) Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;If MergedFilesCount = 0 And QuickPDF.FileListCount(FileListName) &gt; 1 Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;End If</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;Error handling&gt;</div><div>&nbsp; &nbsp; &nbsp; End If</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; If QuickPDF.ClearFileList(FileListName) = 0 Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;Error handling&gt;</div><div>&nbsp; &nbsp; &nbsp; End If</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; If QuickPDF.AddToFileList(FileListName, &lt;FileName&gt;) = 0 Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;Error handling&gt;</div><div>&nbsp; &nbsp; &nbsp; End If</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;End If</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;If QuickPDF.AddToFileList(FileListName, &lt;FileName&gt;) = 0 Then</div><div>&nbsp; &nbsp; &nbsp; &lt;Error handling&gt;</div><div>&nbsp; &nbsp;End If</div><div><br></div><div>&nbsp; &nbsp;RS.MoveNext</div><div>Wend</div><div><br></div><div>MergedFilesCount = QuickPDF.MergeFileList(FileListName, &lt;FileName&gt;)</div><div>If MergedFilesCount &lt; QuickPDF.FileListCount(FileListName) Then</div><div>&nbsp; &nbsp;If MergedFilesCount = 0 And QuickPDF.FileListCount(FileListName) &gt; 1 Then</div><div>&nbsp; &nbsp; &nbsp; ...</div><div>&nbsp; &nbsp;Else</div><div>&nbsp; &nbsp; &nbsp; ...</div><div>&nbsp; &nbsp;End If</div><div>&nbsp; &nbsp;&lt;Error handling&gt;</div><div>End If</div><div><br></div><div>Do you know of any situation where the methods <b><i>AddToFileList</i></b>, <b><i>MergeFileList</i></b>, <b><i>ClearFileList </i></b>do not work properly ?</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 02 Sep 2013 09:31:11 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/merging-pdf-files-produces-unexpected-results_topic2723_post11153.html#11153</guid>
  </item> 
 </channel>
</rss>