<?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 : lexicographic sorting issue</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 : lexicographic sorting issue]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 28 Jun 2026 09:10:01 +0000</pubDate>
  <lastBuildDate>Wed, 06 May 2015 10:23:17 +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=3068</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[lexicographic sorting issue : puneethcm,Instead of using RenderDocumentToFile...]]></title>
   <link>http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12482.html#12482</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 3068<br /><strong>Posted:</strong> 06 May 15 at 10:23AM<br /><br /><span id="userPro1" ="msgSidePro" title="View Drop Down">puneethcm,</span><div><br></div><div>Instead of using RenderDocumentToFile you will need to use add your own loop and call RenderPageToFile instead. &nbsp;This will allow you to control the filename for each page and to add leading zeros.</div><div><br></div><div>' -------------------------------------------------------------------------------------------------------------------------</div><div><br></div><div>Set qp = reportobject("QPDF.QuickPDF")</div><div><br></div><div>QP.LoadFromFile("input.pdf", "");</div><div>lNumPages = QP.PageCount();</div><div><br></div><div>for page = 1 tp lNumpages</div><div>begin</div><div><br></div><div>&nbsp; ' Here you need to create a unique filename for each page with leading zero's.</div><div><br></div><div>&nbsp; filename = docpath + "\" + picturequality + String.Format("{0:0000}", page) &nbsp; ' &nbsp;Visual Basic - Google Search for 'VBScript leading zeros' if you need VBScript</div><div><br></div><div>&nbsp; QP.RenderPageToFile(dpi, page, 3, filename);</div><div><br></div><div>end;</div><div>QP.RemoveDocument(QP.SelectedDocument())</div><div><br></div><div>' --------------------------------------------------------------------------------------------------------------------------</div><div><br></div><div>Andrew</div>]]>
   </description>
   <pubDate>Wed, 06 May 2015 10:23:17 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12482.html#12482</guid>
  </item> 
  <item>
   <title><![CDATA[lexicographic sorting issue : Why are you using temporary EMF...]]></title>
   <link>http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12354.html#12354</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1388">tfrost</a><br /><strong>Subject:</strong> 3068<br /><strong>Posted:</strong> 26 Feb 15 at 12:48PM<br /><br />Why are you using temporary EMF files at all?&nbsp; If the objective is, as you say, to merge multiple PDF documents into a single PDF, go to the scripts section in the Library Dashboard, then Document Manipulation, then Merge a List of PDFs, and look at the example there.&nbsp; This will add the documents to the merged file in the order that you specify them.<br><br>Having said that, it seems that RenderDocumenttofile has a design flaw.&nbsp; It knows in advance how many pages will be output, so it should really provide at least an option to use a variant of %p to add the correct number of leading zeros to the filenames.<br>]]>
   </description>
   <pubDate>Thu, 26 Feb 2015 12:48:47 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12354.html#12354</guid>
  </item> 
  <item>
   <title><![CDATA[lexicographic sorting issue : Application is not under our control...]]></title>
   <link>http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12349.html#12349</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2696">puneethcm</a><br /><strong>Subject:</strong> 3068<br /><strong>Posted:</strong> 25 Feb 15 at 3:24AM<br /><br />Application is not under our control and we can't access these .emf files and rename it..emf file is image of PDF pages...]]>
   </description>
   <pubDate>Wed, 25 Feb 2015 03:24:38 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12349.html#12349</guid>
  </item> 
  <item>
   <title><![CDATA[lexicographic sorting issue : &amp;#039;it&amp;#039; generates emf file...]]></title>
   <link>http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12310.html#12310</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2631">erico</a><br /><strong>Subject:</strong> 3068<br /><strong>Posted:</strong> 10 Feb 15 at 4:03PM<br /><br />'it' generates emf file names --&nbsp; what is 'it'? Perhaps you can take the files from 'it' and rename them before feeding them to Debenu.<br><br>Or if 'it' is an application under your control, you can modify the behavior to name the files differently<br>]]>
   </description>
   <pubDate>Tue, 10 Feb 2015 16:03:34 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12310.html#12310</guid>
  </item> 
  <item>
   <title><![CDATA[lexicographic sorting issue : The thing is it generates .emf...]]></title>
   <link>http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12309.html#12309</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2696">puneethcm</a><br /><strong>Subject:</strong> 3068<br /><strong>Posted:</strong> 10 Feb 15 at 3:54PM<br /><br />The thing is it generates .emf file name as picturequality1, picturrqualit2, .....picturequality10.....we can't access the .emf file and modify the name...<br /><br />]]>
   </description>
   <pubDate>Tue, 10 Feb 2015 15:54:18 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12309.html#12309</guid>
  </item> 
  <item>
   <title><![CDATA[lexicographic sorting issue : Format you page numbers with leading...]]></title>
   <link>http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12308.html#12308</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2631">erico</a><br /><strong>Subject:</strong> 3068<br /><strong>Posted:</strong> 10 Feb 15 at 3:35PM<br /><br />Format you page numbers with leading zeros, as in<br><br>01, 02, 03 . . . 10, 11, . . . 20<br><br>Use as many leading zeroes as necessary. (001 . . . 999) (0001 . . . 9999) etc.<br>]]>
   </description>
   <pubDate>Tue, 10 Feb 2015 15:35:41 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12308.html#12308</guid>
  </item> 
  <item>
   <title><![CDATA[lexicographic sorting issue : Thanks andrew for the reply...We...]]></title>
   <link>http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12307.html#12307</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2696">puneethcm</a><br /><strong>Subject:</strong> 3068<br /><strong>Posted:</strong> 10 Feb 15 at 3:29AM<br /><br />Thanks andrew for the reply...<br /><br />We use VB for scripting...<br />Set qp = reportobject("QPDF.QuickPDF")<br />Qp.renderdocumenttofile picture quality,&nbsp;&nbsp;&nbsp;1, inumpage, 3 , docpath + "\" + zero + picturequality.emf<br /><br />Here QP.renderdocumenttofile converts the PDF pages to .emf and .emf to final single PDF file which has sorting issues....<br /><br /> Inumpages is total number of PDF files<br />Docpath is temporary folder where the .emf images are created.<br /><br />Zero is a variable where zeros are appended to solve some issue.<br />The file name of images are pucturequality1, picturequality so on.... can't we access these image file individually?? I tried but dint find the solution...]]>
   </description>
   <pubDate>Tue, 10 Feb 2015 03:29:27 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12307.html#12307</guid>
  </item> 
  <item>
   <title><![CDATA[lexicographic sorting issue : Hello,This sounds more like a...]]></title>
   <link>http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12303.html#12303</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 3068<br /><strong>Posted:</strong> 09 Feb 15 at 9:34AM<br /><br />Hello,<div><br></div><div>This sounds more like a coding problem than a Debenu Quick PDF Libary file. &nbsp;Files in an operating system are sorted on an ASCII sort. &nbsp;If you want page numbers sorted numerically then you will need to load the filenames into a custom sort algorithm that sorts the files numerically.</div><div><br></div><div>If you post some code as to how you load each file then we may be able to help you.</div><div><br></div><div>Andrew.</div>]]>
   </description>
   <pubDate>Mon, 09 Feb 2015 09:34:17 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12303.html#12303</guid>
  </item> 
  <item>
   <title><![CDATA[lexicographic sorting issue : hi i have a question regarding...]]></title>
   <link>http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12301.html#12301</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2696">puneethcm</a><br /><strong>Subject:</strong> 3068<br /><strong>Posted:</strong> 08 Feb 15 at 3:49PM<br /><br />hi i have a question regarding quick pdf conversion. In my application we covert two or more pdf files (which each pdf page is alphanumeric) am trying to &nbsp;convert all this pdf files into one pdf file but the order of the pages is sorting in lexicographic order(like &nbsp;1,10, 11,12,13.....2,20,21,.....and so on).may i know the solution for this issue. the application converts each pdf page to .emf file and from .emf to final pdf file(which is combination of all pdf pages of pdf files) .....<div><br></div><div>May i know why the the issue is arising and solution for the problem...</div><div><br></div><div>Thanks in advance....<img src="http://www.quickpdf.org/forum/smileys/smiley1.gif" border="0" alt="Smile" title="Smile" /></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Sun, 08 Feb 2015 15:49:53 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/lexicographic-sorting-issue_topic3068_post12301.html#12301</guid>
  </item> 
 </channel>
</rss>