<?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 : CopyPageRanges Results in blank page</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 : CopyPageRanges Results in blank page]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 05:59:32 +0000</pubDate>
  <lastBuildDate>Thu, 23 Aug 2012 23:44:51 +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=2378</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[CopyPageRanges Results in blank page : You will have to get official...]]></title>
   <link>http://www.quickpdf.org/forum/copypageranges-results-in-blank-page_topic2378_post10008.html#10008</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=121">Wheeley</a><br /><strong>Subject:</strong> 2378<br /><strong>Posted:</strong> 23 Aug 12 at 11:44PM<br /><br />You will have to get official support to answer that question. There were known performance issues when dealing with large files that the previous owner didn't address. I don't know if Debenu has fixed them or not. I do know they are a <b>much</b> better company at responding to issues in the library. So put in an official support ticket and see what they say. Go here:<br><br>http://www.debenu.com/support/contact/<br><br>Wheeley<br>]]>
   </description>
   <pubDate>Thu, 23 Aug 2012 23:44:51 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/copypageranges-results-in-blank-page_topic2378_post10008.html#10008</guid>
  </item> 
  <item>
   <title><![CDATA[CopyPageRanges Results in blank page :   That did the trick. Thanks...]]></title>
   <link>http://www.quickpdf.org/forum/copypageranges-results-in-blank-page_topic2378_post10006.html#10006</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2033">bwolfe</a><br /><strong>Subject:</strong> 2378<br /><strong>Posted:</strong> 23 Aug 12 at 9:25PM<br /><br />That did the trick. Thanks so much. <div>&nbsp;</div><div>Can you tell me why CopyPageRanges takes so long on larger files?</div><div>&nbsp;</div><div>I have a PDF that has 1715 pages. When I open it, it is fine. When execute CopyPageRanges and specifiy a single page, it takes quite a while. For each page, to copy to, the CopyPageRanges takes an inordinate amount of time to execute. It doesn't take a long time for 400 pages, but once you get to 1000 or so, it crawls.</div>]]>
   </description>
   <pubDate>Thu, 23 Aug 2012 21:25:51 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/copypageranges-results-in-blank-page_topic2378_post10006.html#10006</guid>
  </item> 
  <item>
   <title><![CDATA[CopyPageRanges Results in blank page : What you are not understanding...]]></title>
   <link>http://www.quickpdf.org/forum/copypageranges-results-in-blank-page_topic2378_post10005.html#10005</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=121">Wheeley</a><br /><strong>Subject:</strong> 2378<br /><strong>Posted:</strong> 23 Aug 12 at 9:02PM<br /><br />What you are not understanding is even before you load the file QuickPDF already has a blank document in memory. This is by default and intentional. So your line GetDocumentID (1) is in fact selecting the default blank document which is why CopyPageRanges is failing. So, what you should do is GetDocumentID (DocumentCount()) and it should work.<br><br>Wheeley<br>]]>
   </description>
   <pubDate>Thu, 23 Aug 2012 21:02:05 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/copypageranges-results-in-blank-page_topic2378_post10005.html#10005</guid>
  </item> 
  <item>
   <title><![CDATA[CopyPageRanges Results in blank page :   I am attempting to loop thru...]]></title>
   <link>http://www.quickpdf.org/forum/copypageranges-results-in-blank-page_topic2378_post10004.html#10004</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2033">bwolfe</a><br /><strong>Subject:</strong> 2378<br /><strong>Posted:</strong> 23 Aug 12 at 5:14PM<br /><br />I am attempting to loop thru a PDF document and create multiple pages per PDF. My original PDF is 409 pages and has security on Document Assembly. My loop reports successful (1) on page 1 and unsuccessful (0) on subsequent pages with an error code of 412. I took an unsecured PDF with 1 page and attempted and CopyPageRanges reports successful. No matter what I try, I get a PDF with a blank page. I am fairly certain, after reviewing the forums, that I have the correct PDF selected at the time of extraction. It seems pretty straightforward.<div>&nbsp;</div><div>Sub ConvertQuickPDF(ByVal oFile As IO.FileInfo, ByVal oFolder As IO.DirectoryInfo)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim oQP As QuickPDFAX0814.PDFLibrary = Nothing<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim lID As Integer = 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim lNewID As Integer = 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim oNewFile As IO.FileInfo = Nothing<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim lPageCount As Integer = 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim i As Integer = 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Const SPK As String = "***********"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Try<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oQP = New QuickPDFAX0814.PDFLibrary<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oQP.UnlockKey(SPK)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lID = oQP.LoadFromFile(oFile.FullName, "")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lPageCount = oQP.PageCount</div><div>'Get First Document ID<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lID = oQP.GetDocumentID(1)</div><div><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For i = 1 To lPageCount<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oQP.SelectDocument(lID)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oQP.SelectPage(i)</div><div>'Get New Document<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lNewID = oQP.NewDocument()</div><div>'Select New Document<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oQP.SelectDocument(lNewID)</div><div>'Copy a page by number from original PDF to new pdf</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oQP.CopyPageRanges(lID, i.ToString)</div><div>'Delete blank initial page</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oQP.DeletePages(1, 1)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oNewFile = New IO.FileInfo(oFolder.FullName &amp; "\" &amp; Format(i, "00000000") &amp; ".pdf")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IO.Directory.CreateDirectory(oNewFile.DirectoryName)</div><div>'Save new PDF&nbsp; - always a blank page<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oQP.SaveToFile(oNewFile.FullName)</div><div>'Remove the New PDF&nbsp;from&nbsp;collection<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oQP.RemoveDocument(lNewID)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oQP.RemoveDocument(lID)</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Catch ex As Exception</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End Try<br>&nbsp;&nbsp;&nbsp; End Sub</div>]]>
   </description>
   <pubDate>Thu, 23 Aug 2012 17:14:09 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/copypageranges-results-in-blank-page_topic2378_post10004.html#10004</guid>
  </item> 
 </channel>
</rss>