<?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 : Problems Merging &#070;orms</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 : Problems Merging &#070;orms]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 27 Jul 2026 12:49:20 +0000</pubDate>
  <lastBuildDate>Fri, 03 Feb 2006 09:26:42 +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=293</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[Problems Merging &#070;orms : Since we seem to be in philosophical...]]></title>
   <link>http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1283.html#1283</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=227">shelby</a><br /><strong>Subject:</strong> 293<br /><strong>Posted:</strong> 03 Feb 06 at 9:26AM<br /><br /><DIV>Since we seem to be in philosophical mode, I will add:</DIV><DIV>&nbsp;</DIV><DIV>An interim page load with a pretty graphic linked to the page and an explanation a slight delay should keep the user busy to decrease the apparant wait and at least the frustration.&nbsp; (Also, I always hide the submit button after it is clicked to control the population of users that just need some slow-down juice.)&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>It is called the Law of Diminishing Returns.&nbsp; Five more hours of programming and debugging takes the job from 10 seconds to 5 seconds.&nbsp; Good for the internal - "dang I am good",&nbsp; <IMG src="http://www.quickpdf.org/forum/smileys/smiley4.gif" border="0">&nbsp;but not really appreciated by the end user who complains about the 5 second load time. (Though I admit I have spent many hours doing this sort of self gratification.)</DIV><DIV>&nbsp;</DIV><DIV>I know, you hard core CPU burners out there won't agree - but a little user interface goes a long way - even with people that can "pop jiffy-pop pop-corn on their cpu"&nbsp;&nbsp;&nbsp;<IMG src="http://www.quickpdf.org/forum/smileys/smiley23.gif" border="0">&nbsp; (rough quote from - Real Programmers Don't Eat Quiche - circa 1990)</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 03 Feb 2006 09:26:42 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1283.html#1283</guid>
  </item> 
  <item>
   <title><![CDATA[Problems Merging &#070;orms : The problem with high CPU utilization...]]></title>
   <link>http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1279.html#1279</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=170">bogey</a><br /><strong>Subject:</strong> 293<br /><strong>Posted:</strong> 03 Feb 06 at 7:11AM<br /><br /><P>The problem with high CPU utilization is that the MergePDF process is being run from our production content server. All content is fed live from the server, and high utlitization can really slow down delivery of form kits. Then users refresh and start the process over again, only compounding the problem. If it takes 10 seconds to build the kit, it is too long.</P><P>But on the other hand, any CPU cycle not used is forever lost. Same goes for bandwidth. </P>]]>
   </description>
   <pubDate>Fri, 03 Feb 2006 07:11:44 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1279.html#1279</guid>
  </item> 
  <item>
   <title><![CDATA[Problems Merging &#070;orms : Ken,  Good work. Useful information.  In...]]></title>
   <link>http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1276.html#1276</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=173">swb1</a><br /><strong>Subject:</strong> 293<br /><strong>Posted:</strong> 02 Feb 06 at 5:28PM<br /><br /><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20><FONT size=2><FONT face=Arial>Ken, <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20><FONT size=2><FONT face=Arial>Good work. Useful information.<o:p></o:p></FONT></FONT></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20><FONT size=2><FONT face=Arial>&nbsp;<o:p></o:p></FONT></FONT></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20><FONT size=2><FONT face=Arial>In software development there are two things I rarely worry about. <o:p></o:p></FONT></FONT></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .5in"><SPAN class=EmailStyle20><FONT face=Arial size=2>1.)</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN class=EmailStyle20><FONT size=2><FONT face=Arial>Disk space. By the time you are close to filling up you 200GB drive the 2TB drives will $98.99 plus tax at CompUSA<o:p></o:p></FONT></FONT></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .5in"><SPAN class=EmailStyle20><FONT face=Arial size=2>2.)</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN class=EmailStyle20><FONT size=2><FONT face=Arial>CPU Usage. Same reason as the drives.<o:p></o:p></FONT></FONT></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20><FONT size=2><FONT face=Arial>&nbsp;<o:p></o:p></FONT></FONT></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20><FONT size=2><FONT face=Arial>It’s probably a bad practice however I don’t spend a lot of time optimizing code when hardware will have solved most of my problems by time I’m ready to release.<o:p></o:p></FONT></FONT></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20><FONT size=2><FONT face=Arial>&nbsp;<o:p></o:p></FONT></FONT></SPAN></P><SPAN class=EmailStyle20><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Steve</SPAN></SPAN>]]>
   </description>
   <pubDate>Thu, 02 Feb 2006 17:28:03 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1276.html#1276</guid>
  </item> 
  <item>
   <title><![CDATA[Problems Merging &#070;orms : Here is what has been discovered...]]></title>
   <link>http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1274.html#1274</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=170">bogey</a><br /><strong>Subject:</strong> 293<br /><strong>Posted:</strong> 02 Feb 06 at 4:34PM<br /><br /><P>Here is what has been discovered with lots of testing:</P><P>There are basically 4 ways to merge PDF files and they yield different results.&nbsp; MergeDocument() in memory, mergeFiles(), mergeFileList(), and mergeFileListFast().</P><P>MergeDocument() in memory is the fast and correctly appends redundant field objects correctly. </P><P>MergeFiles() and MergeFileList() are very slow, and have mixed reults with redundant fields. </P><P>MergeFilesFast() is fast, but does not handle redundant fields well at all.</P><P>After any of these calls, if you issue a SetNeedsAppearance() call, it will trigger acrobat to "fix up form fields" on load of the PDF, allowing redundant field&nbsp;objects to properly resolve. However, this is not a solution if you want the program to populate field data before delivery because the "fix up fields" is run after the file is delivered to the viewer. </P><P>The solution I have come up with is using the mergeDocument() method, which is fairly fast but very CPU intensive. But it leaves the PDF in a state in which you can properly pump data into it.</P><P>Right now this is working, but I will be closely monitoring the CPU usage for heavy loads. Thanks to all who contributed, expecially the contributor who mentioned the SetNeedsAppearance() method in another post. </P>]]>
   </description>
   <pubDate>Thu, 02 Feb 2006 16:34:47 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1274.html#1274</guid>
  </item> 
  <item>
   <title><![CDATA[Problems Merging &#070;orms :  Ken,  I have found that if...]]></title>
   <link>http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1252.html#1252</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=173">swb1</a><br /><strong>Subject:</strong> 293<br /><strong>Posted:</strong> 31 Jan 06 at 11:53AM<br /><br /><SPAN class=EmailStyle20><FONT size=2><FONT face=Arial><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20>Ken,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20>&nbsp;<o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20>I have found that if I use MergeFileList rather than MergeFileListFast the resulting file works in Acrobat Reader v5.1 , though the processing take about twice as long. <o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20>&nbsp;<o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20>Here is a WAG (Wild Ass Guess) about what I think may be happening: <o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20>&nbsp;<o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20>It looks as though MergeFileList steps through a number of <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>older, well tested, routines that copy PDF objects and their formats to new PDF objects, assembles them and saves them to a new stream. Ultimately saving that new stream to a new PDF file.<o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20>&nbsp;<o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20>I believe that the newer Function: MergeFileListFast simply stacks up the existing PDF objects with no concern for the properties of those objects. I suspect that this means that MergeFileListFast will put objects with redundant properties in the output stream that would not&nbsp;typically be allowed in a single PDF stream. Based on your posts and some others I have read, it seems that redundant Field Objects are of greater concern than say Font Objects or Text Objects.<o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20>&nbsp;<o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20>Once again, just a guess. There is a lot of code here that I don’t yet understand, however, stepping through it, I can see why MergeFileList takes longer and I can also see how it could be more thorough and more tested. Thus if functional reliability is important then MergeFileList is the better call. If you can guarantee that the documents You are merging will not have redundant filed objects you can probably get away with MergeFielListFast. <o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20>&nbsp;<o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20>Perhaps someday I will understand this stuff well enough to fix MergeFielListFast (assuming that it’s actually broken) however unless there is a lot of $ in it, that day is long way off.<o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20>&nbsp;<o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20>Regards <o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN class=EmailStyle20>Steve<o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"></FONT></FONT></SPAN></P>]]>
   </description>
   <pubDate>Tue, 31 Jan 2006 11:53:13 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1252.html#1252</guid>
  </item> 
  <item>
   <title><![CDATA[Problems Merging &#070;orms : Here is an update: When I have...]]></title>
   <link>http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1249.html#1249</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=170">bogey</a><br /><strong>Subject:</strong> 293<br /><strong>Posted:</strong> 31 Jan 06 at 9:24AM<br /><br /><P>Here is an update:</P><P>When I have multiple PDFs with same named field on them, and they are merged, the field on pages following the 1st occurance is disabled and causes acrobat5 to crash.</P><P>We have discovered if the PDF is opened in Acrobat, remove security, and Extract All the pages, the subsequent form fields are then active and fillable. </P><P>The Extract PAges seems to "reform" the PDF file. The status bad indicates "Fixing Up Form Field" during the process. </P><P>Does anyone know what this is fixing, and is there an equivalent QP process?&nbsp; I have tried the CheckObjects() and ExtractPAges(), but the do not seem to have the desired effect.</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 31 Jan 2006 09:24:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1249.html#1249</guid>
  </item> 
  <item>
   <title><![CDATA[Problems Merging &#070;orms : A package is on the way... ]]></title>
   <link>http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1242.html#1242</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=170">bogey</a><br /><strong>Subject:</strong> 293<br /><strong>Posted:</strong> 30 Jan 06 at 4:32PM<br /><br />A package is on the way...]]>
   </description>
   <pubDate>Mon, 30 Jan 2006 16:32:17 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1242.html#1242</guid>
  </item> 
  <item>
   <title><![CDATA[Problems Merging &#070;orms : Send Me a couple of files and...]]></title>
   <link>http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1241.html#1241</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=173">swb1</a><br /><strong>Subject:</strong> 293<br /><strong>Posted:</strong> 30 Jan 06 at 2:53PM<br /><br /><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT size=2><SPAN style="COLOR: black; FONT-FAMILY: Verdana">Send Me a couple of files and a quick example of the code you use to perform the merge. I will watch the process in the debugger. I may not be able to tell how damage is occurring but I should be able to tell you what part of the process take the most time. </SPAN><SPAN style="COLOR: black; FONT-FAMILY: Verdana; mso-color-alt: windowtext"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT size=2><SPAN style="COLOR: black; FONT-FAMILY: Verdana">&nbsp;</SPAN><SPAN style="COLOR: black; FONT-FAMILY: Verdana; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT size=2><SPAN style="COLOR: black; FONT-FAMILY: Verdana">Steve</SPAN><SPAN style="COLOR: black; FONT-FAMILY: Verdana; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></P><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'">pdfguy&#091;at&#093;dashdev&#091;dot&#093;com</SPAN>]]>
   </description>
   <pubDate>Mon, 30 Jan 2006 14:53:58 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1241.html#1241</guid>
  </item> 
  <item>
   <title><![CDATA[Problems Merging &#070;orms : I need to get a better understanding...]]></title>
   <link>http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1240.html#1240</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=170">bogey</a><br /><strong>Subject:</strong> 293<br /><strong>Posted:</strong> 30 Jan 06 at 2:38PM<br /><br /><P>I need to get a better understanding of how PDF files are merged. We have been having terrible problems with form kits that are generated by QuickPDF since we started adding lots of fields. </P><P>We have had a process in place for years that combined multiple PDFs into a single download pdf. It had worked very well using the merging in memory.</P><P>Since then we have added fillable fields to many of the PDF files, some with a couple hundred fields. The process kept getting slower as files sizes increased. &nbsp;I rewrote the process recently to merge using the MergeFileListFast() method, but it is still not as fast as we expected.</P><P>The biggest problem is that if we have different forms with fields that are named the same, once they are merged, the second occurance of the field is no longer fillable. These merged files actually crash Acrobat 5. </P><P>I need a better understanding of exactly what is done during a merge. Is is simple contatenation of the files? Or&nbsp;are they really merged into a single PDF "container".&nbsp; Is there a process that can be done to better combine the files so fields work as though they are in a single document?</P><P>I can provide sample PDF files if someone has a way to analyze them and tell me what is damaged by the process. </P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 30 Jan 2006 14:38:14 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-merging-forms_topic293_post1240.html#1240</guid>
  </item> 
 </channel>
</rss>