<?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 : How to re-index PDF pages ?</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 : How to re-index PDF pages ?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 00:27:43 +0000</pubDate>
  <lastBuildDate>Tue, 05 Apr 2016 19:52:52 +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=3299</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[How to re-index PDF pages ? : Hi,here you can search for better...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-reindex-pdf-pages_topic3299_post13140.html#13140</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3299<br /><strong>Posted:</strong> 05 Apr 16 at 7:52PM<br /><br />Hi,<div><br></div><div>here you can search for better solution, code snippets, samples:</div><div>http://www.quickpdf.org/</div><div><br></div>]]>
   </description>
   <pubDate>Tue, 05 Apr 2016 19:52:52 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-reindex-pdf-pages_topic3299_post13140.html#13140</guid>
  </item> 
  <item>
   <title><![CDATA[How to re-index PDF pages ? : Hi Ingo,I don&amp;#039;t have found...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-reindex-pdf-pages_topic3299_post13136.html#13136</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2722">DrCizor</a><br /><strong>Subject:</strong> 3299<br /><strong>Posted:</strong> 05 Apr 16 at 1:27PM<br /><br />Hi Ingo,<br><br><span id="result_" ="short_text" lang="en"><span>I</span> don't <span ="">have found anything</span> <span ="">relevant in your search link and in this part of forum.<br></span></span><span id="result_" ="short_text" lang="en"><span>I continue</span> <span>to seek</span> <span ="">a faster method to append pages and reduce this size...<br>Is there other methods to quickly copy pages from one document to an other ?<br></span></span><span id="result_" ="short_text" lang="en"><span =""><span id="result_" ="short_text" lang="en"><span ="">It seems after each CopyPageRanges the value of TextSize is loose, I have to set it before drawing the text.<br><br>thank you<br></span></span></span></span>]]>
   </description>
   <pubDate>Tue, 05 Apr 2016 13:27:07 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-reindex-pdf-pages_topic3299_post13136.html#13136</guid>
  </item> 
  <item>
   <title><![CDATA[How to re-index PDF pages ? : Hi,try the search functionality...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-reindex-pdf-pages_topic3299_post13120.html#13120</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3299<br /><strong>Posted:</strong> 03 Apr 16 at 9:37PM<br /><br />Hi,<div><br></div><div>try the search functionality here:</div><div>http://www.quickpdf.org/forum/search_results_posts.asp?SearchID=20160403213345&amp;KW=CopyPageRanges</div><div>If SetTextSize is always the same you should call it only at the top one time?</div><div>Older posts are telling that CopyPageRanges copies always the fonts, too.</div><div>So size will increase...</div><div>Try the compress functionalities, too.</div><div><br></div>]]>
   </description>
   <pubDate>Sun, 03 Apr 2016 21:37:43 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-reindex-pdf-pages_topic3299_post13120.html#13120</guid>
  </item> 
  <item>
   <title><![CDATA[How to re-index PDF pages ? : Hi Ingo,Thank you for the answer.For...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-reindex-pdf-pages_topic3299_post13119.html#13119</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2722">DrCizor</a><br /><strong>Subject:</strong> 3299<br /><strong>Posted:</strong> 03 Apr 16 at 8:52PM<br /><br />Hi Ingo,<br><br>Thank you for the answer.<br>For the blank page, it is because I have to manage recto/verso.<br>In Javascript usage single or double quote are similar, but it will be the same character to round a string.<br>For the path to save ... I miss the the second "\" <img src="http://www.quickpdf.org/forum/smileys/smiley18.gif" border="0" alt="Ouch" title="Ouch" /><br><br><br>I modify the code with a loop who gives static values for test and using a single object.<br>This code works, however, to copy 4000 pages it takes about 30 minutes and the output file is about 500Mo ... <img src="http://www.quickpdf.org/forum/smileys/smiley7.gif" border="0" alt="Angry" title="Angry" /><br><br>I think I did stupids things in my code and it is not optimized, how to improve it ?<br><br><table width="99%"><tr><td><pre class="BBcode">var QP = new ActiveXObject("DebenuPDFLibraryAX1211.PDFLibrary");<br>r1=QP.UnlockKey("********") ;<br><br>QP.LoadFromFile("d:\\MySourceFile.pdf","");<br>var DocOriginal = QP.SelectedDocument();<br>&nbsp;<br>QP.NewDocument();<br>var cpt=1;<br>QP.SetOrigin(1); <br>QP.SetMeasurementUnits(1);<br>QP.SetPageDimensions(210,297);<br><br><br>for(var i=0;i&lt;2000;i++)<br>&nbsp;{<br>&nbsp; QP.CopyPageRanges(DocOriginal, "1-2");<br>&nbsp; QP.SelectPage(cpt+1);<br>&nbsp; cpt += 2;<br>&nbsp; QP.SetTextSize(5);&nbsp; <br>&nbsp; QP.DrawText(180, 56, "T 208");&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // writing on the recto<br>&nbsp;}<br><br><br>QP.DeletePages(1,1);&nbsp;&nbsp; // Delete first blank page<br>QP.SaveToFile("d:\\Result.pdf");<br></pre></td></tr></table><br><br>thanks in advance<br><span style="font-size:10px"><br /><br />Edited by DrCizor - 03 Apr 16 at 8:55PM</span>]]>
   </description>
   <pubDate>Sun, 03 Apr 2016 20:52:58 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-reindex-pdf-pages_topic3299_post13119.html#13119</guid>
  </item> 
  <item>
   <title><![CDATA[How to re-index PDF pages ? : Hi,myPDF will be the new - still...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-reindex-pdf-pages_topic3299_post13118.html#13118</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3299<br /><strong>Posted:</strong> 03 Apr 16 at 7:20PM<br /><br /><span style="line-height: 16.8px;">Hi,</span><div style="line-height: 16.8px;"><br></div><div style="line-height: 16.8px;">myPDF will be the new - still empty - file?</div><div style="line-height: 16.8px;">There still aren't any pages but you want to insert a blank page after the second page?</div><div style="line-height: 16.8px;">CopyPageRanges needs a string with the page ranges.&nbsp;</div><div style="line-height: 16.8px;">In your code snippet sometimes there are double quotes and sometimes there are single quotes round your strings. What's correct... single or double?</div><div style="line-height: 16.8px;">At LoadFromFile you have written d:\\ and at the end at SaveToFile there is a d:\ ... what's correct?</div>]]>
   </description>
   <pubDate>Sun, 03 Apr 2016 19:20:04 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-reindex-pdf-pages_topic3299_post13118.html#13118</guid>
  </item> 
  <item>
   <title><![CDATA[How to re-index PDF pages ? : Hi everyone,I have to re-index...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-reindex-pdf-pages_topic3299_post13117.html#13117</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2722">DrCizor</a><br /><strong>Subject:</strong> 3299<br /><strong>Posted:</strong> 03 Apr 16 at 6:44AM<br /><br />Hi everyone,<br><br><span lang="en">I have to re-index a large PDF file (3 to 4000 pages ) containing invoices. <br>I am constrained to sort it by postal code of the recipient, add text on the fly and add a separator page between cities !!!<br>I have already managed to extract and sort informations into a CSV file but now my problem is how to merge pages from the PDF source ?<br><br>Here is my code to append pages from the PDF source to the current but it doesn't work...<img src="http://www.quickpdf.org/forum/smileys/smiley5.gif" border="0" alt="C&#111;nfused" title="C&#111;nfused" /><br><br></span><span lang="en"><span lang="en"><table width="99%"><tr><td><pre class="BBcode"><br></span>var PdfOriginal = new ActiveXObject("DebenuPDFLibraryAX</span><span lang="en">1211.PDFLibrary");<br></span><span lang="en"><span lang="en">var </span></span><span lang="en"><span lang="en"><span lang="en"><span lang="en">myPDF</span></span> = new ActiveXObject("DebenuPDFLibraryAX</span></span><span lang="en"><span lang="en">1211.PDFLibrary");<br></span></span><span lang="en">r1=PdfOriginal.UnlockKey("</span><span lang="en"><span lang="en">********</span>") ;</span><span lang="en"><br></span><span lang="en">r2=</span><span lang="en"><span lang="en"><span lang="en">myPDF</span></span>.UnlockKey("</span><span lang="en"><span lang="en">********</span>") ;</span><span lang="en"><br></span><span lang="en"><span lang="en">var DocID = PdfOriginal.LoadFromFile("d:\\MySourceFile.pdf", "");</span><br><br>myPDF.SetOrigin(1); <br>myPDF.SetMeasurementUnits(1);<br>myPDF.SetPageDimensions(210,297) ;<br><br>// first separator page<br>myPDF.SetFillColor(1,0,0);<br>myPDF.DrawBox(115,56,80,35,2);<br>myPDF.SetFillColor(0,0,0);<br>myPDF.InsertPages(2,1);<br><br>// Loop<br></span><span lang="en">myPDF.CopyPageRanges(DocID,'1644'); <br></span><span lang="en"><span lang="en">myPDF.DrawText(10, 50, "0000114");</span><br></span><span lang="en"><br>// next<br></span><span lang="en"><span lang="en">myPDF.CopyPageRanges(DocID,'2845'); <br></span><span lang="en"><span lang="en">myPDF.DrawText(10, 50, "0000224");</span><br></span><br>//etc...<br><br>myPDF.SaveToFile("d:\Result.pdf");<br></span><span lang="en"></pre></td></tr></table><br><br>thanks for the help<br></span><span style="font-size:10px"><br /><br />Edited by DrCizor - 03 Apr 16 at 2:36PM</span>]]>
   </description>
   <pubDate>Sun, 03 Apr 2016 06:44:31 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-reindex-pdf-pages_topic3299_post13117.html#13117</guid>
  </item> 
 </channel>
</rss>