<?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 : ExtractPageRanges</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 : ExtractPageRanges]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 22:11:30 +0000</pubDate>
  <lastBuildDate>Sun, 03 Jan 2010 10:51:00 +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=1300</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[ExtractPageRanges : I thinkthe problem come with an...]]></title>
   <link>http://www.quickpdf.org/forum/extractpageranges_topic1300_post5970.html#5970</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=129">DELBEKE</a><br /><strong>Subject:</strong> 1300<br /><strong>Posted:</strong> 03 Jan 10 at 10:51AM<br /><br />I think&nbsp;the problem come with an unusual&nbsp; contruction of the Pages directory in the pdf <DIV>&nbsp;</DIV><DIV>Usualy, a pages directoy look like this</DIV><BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr><DIV>&nbsp; 1 0 obj<BR>&nbsp; &lt;&lt;<BR>&nbsp; /Type /Pages<BR>&nbsp; /Count 2<BR>&nbsp; /Kids &#091; 2 0 R 134 0 R &#093;&nbsp; <BR>&nbsp; &gt;&gt;</DIV></BLOCKQUOTE><DIV>The count entry say how much pages are defined in the pdf&nbsp;and the kids entry show where the pages begin</DIV><DIV>&nbsp;</DIV><DIV>When a Kid&nbsp;entry points to another page directory, ExtrafilePage is lost</DIV><DIV>&nbsp;</DIV><DIV>In the sample the page 1 entry look like this</DIV><BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr><DIV>&nbsp; 2 0 obj<BR>&nbsp; &lt;&lt;<BR>&nbsp; /Type /Page<BR>&nbsp; /Parent 1 0 R<BR>&nbsp; /MediaBox &#091; 0 0 612 792 &#093;<BR>&nbsp; /CropBox &#091; 0 0 612 792 &#093;<BR>&nbsp; /Resources &lt;&lt;<BR>&nbsp; /ProcSet &#091; /PDF /Text /ImageB /ImageC /ImageI &#093;<BR>&nbsp; /XObject &lt;&lt;<BR>&nbsp; /iSQPIm1fead741 133 0 R<BR>&nbsp; &gt;&gt;<BR>&nbsp; &gt;&gt;<BR>&nbsp; /Contents &#091; 5 0 R &#093;<BR>&nbsp; &gt;&gt;</DIV></BLOCKQUOTE><DIV>And the second one</DIV><BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr><DIV>&nbsp; 134 0 obj<BR>&nbsp; &lt;&lt;<BR>&nbsp; /Type /Pages<BR>&nbsp; /Count 1<BR>&nbsp; /Kids &#091; 135 0 R &#093;<BR>&nbsp; /Parent 1 0 R<BR>&nbsp; &gt;&gt;<BR>&nbsp; endobj</DIV></BLOCKQUOTE><DIV>&nbsp;</DIV><DIV>This one is a sub-page directory and if this construction is not a bad one, it is also unusual.</DIV><DIV>&nbsp;</DIV><DIV>The ExtratPageFile can't handle it.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><span style="font-size:10px"><br /><br />Edited by DELBEKE - 03 Jan 10 at 10:55AM</span>]]>
   </description>
   <pubDate>Sun, 03 Jan 2010 10:51:00 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/extractpageranges_topic1300_post5970.html#5970</guid>
  </item> 
  <item>
   <title><![CDATA[ExtractPageRanges : Hello mhc, I confirmed what you...]]></title>
   <link>http://www.quickpdf.org/forum/extractpageranges_topic1300_post5968.html#5968</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1168">shimax</a><br /><strong>Subject:</strong> 1300<br /><strong>Posted:</strong> 03 Jan 10 at 1:01AM<br /><br /><P>Hello mhc,</P><P>I confirmed what you have described.<BR>It can be confirmed by simply downloading A Customizable Demo For Quick PDF Library at:<BR><a href="http://www.quickpdflibrary.com/blog/2009/10/a-customizable-demo-for-quick-pdf-library/" target="_blank">http://www.quickpdflibrary.com/blog/2009/10/a-customizable-demo-for-quick-pdf-library/</A></P><P>and by editing the sample code of ExtractFilePages like below:</P><P>//QP.ExtractFilePages(GetInputFolder() + "sign_me.pdf", GetOutputFolder() + "extracted_page_range.pdf", "2-5, 8, 10, 13-19");<BR>QP.ExtractFilePages(GetInputFolder() + "Moby_Dick_NT.pdf", GetOutputFolder() + "extracted_page_range.pdf", "2-5, 8, 10, 13-19");</P><P>sign_me.pdf works but Moby_Dick_NT.pdf does not work well and 13 pages of blank pages are produced.</P><P>And I tested with other PDF files which I have, and encountered the strange things.<BR>Some files failed in being extracted ( error code is 409: Invalid file structure, file is damaged.) but if I copy them from C drive to F drive, they success in being extacted.<BR>I wonder why the same files show different results.</P><P>Maybe this phenomena is because of my special environment. My OS is Japanese (But in my tests, no unicode paths are involved. ), and I develop with PHP and ActiveX.</P><P>Anyway, I think your description can be confirmed in my environment.<BR></P>]]>
   </description>
   <pubDate>Sun, 03 Jan 2010 01:01:00 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/extractpageranges_topic1300_post5968.html#5968</guid>
  </item> 
  <item>
   <title><![CDATA[ExtractPageRanges :    Ingo wrote:Hi mhc!Here you&amp;#039;ll...]]></title>
   <link>http://www.quickpdf.org/forum/extractpageranges_topic1300_post5964.html#5964</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1215">mhc</a><br /><strong>Subject:</strong> 1300<br /><strong>Posted:</strong> 31 Dec 09 at 5:26PM<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Ingo" alt="Originally posted by Ingo" style="vertical-align: text-bottom;" /> <strong>Ingo wrote:</strong><br /><br />Hi mhc!<br><br>Here you'll find all you need for your first steps:<br>http://www.quickpdf.org/forum/quickpdf-the-first-steps_topic1242.html<br><br>Cheers and welcome here!<br>Ingo<br><br></td></tr></table><br><br>Thanks Ingo,<br>This function does not work for some of our PDF's.&nbsp; I tried another PDF it works but not others.&nbsp;&nbsp; Do you have any ideas why it would work for some PDF's but not others?&nbsp; I can email you the PDF it doesn't work for if you want.<br>]]>
   </description>
   <pubDate>Thu, 31 Dec 2009 17:26:37 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/extractpageranges_topic1300_post5964.html#5964</guid>
  </item> 
  <item>
   <title><![CDATA[ExtractPageRanges : Hi mhc!Here you&amp;#039;ll find all...]]></title>
   <link>http://www.quickpdf.org/forum/extractpageranges_topic1300_post5962.html#5962</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1300<br /><strong>Posted:</strong> 31 Dec 09 at 5:20PM<br /><br />Hi mhc!<br><br>Here you'll find all you need for your first steps:<br>http://www.quickpdf.org/forum/quickpdf-the-first-steps_topic1242.html<br><br>Cheers and welcome here!<br>Ingo<br><br>]]>
   </description>
   <pubDate>Thu, 31 Dec 2009 17:20:38 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/extractpageranges_topic1300_post5962.html#5962</guid>
  </item> 
  <item>
   <title><![CDATA[ExtractPageRanges : Update:I got it to create the...]]></title>
   <link>http://www.quickpdf.org/forum/extractpageranges_topic1300_post5961.html#5961</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1215">mhc</a><br /><strong>Subject:</strong> 1300<br /><strong>Posted:</strong> 29 Dec 09 at 9:57PM<br /><br />Update:<br>I got it to create the file now but it only creates 1 page correctly.&nbsp; Page 1 is correct and then Page 2 is blank.<br>]]>
   </description>
   <pubDate>Tue, 29 Dec 2009 21:57:21 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/extractpageranges_topic1300_post5961.html#5961</guid>
  </item> 
  <item>
   <title><![CDATA[ExtractPageRanges : I have a PDF that I need to extract...]]></title>
   <link>http://www.quickpdf.org/forum/extractpageranges_topic1300_post5960.html#5960</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1215">mhc</a><br /><strong>Subject:</strong> 1300<br /><strong>Posted:</strong> 29 Dec 09 at 9:41PM<br /><br />I have a PDF that I need to extract certain pages out and create another pdf with just those pages.&nbsp; ISED seems to have the function:<br><br>QP.ExtractFilePages Input, Output, Pages<br><br>What I am passing is this:<br>QP.ExtractFilePages PDFName, NewPDF, "1-2"<br><br>When I do this the NewPDF does not get created.<br><br>Any help on why this does not work?<br>]]>
   </description>
   <pubDate>Tue, 29 Dec 2009 21:41:10 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/extractpageranges_topic1300_post5960.html#5960</guid>
  </item> 
 </channel>
</rss>