<?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 : DARenderPageToStream</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 : DARenderPageToStream]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 19:01:33 +0000</pubDate>
  <lastBuildDate>Sat, 16 Apr 2011 21:55:14 +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=1805</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[DARenderPageToStream : It failed.I upgraded from 7.19...]]></title>
   <link>http://www.quickpdf.org/forum/darenderpagetostream_topic1805_post7812.html#7812</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=312">bb46970</a><br /><strong>Subject:</strong> 1805<br /><strong>Posted:</strong> 16 Apr 11 at 9:55PM<br /><br />It failed.<br>I upgraded from 7.19 to 7.24 and ran a test on another set of PDFs.&nbsp; The first PDF is two pages, created by XFRX.&nbsp; The second PDF is 228 pages of images, created by BlackIce PDF print driver.<br><br>The resulting PDF displays fine with the Foxit Reader.&nbsp; It does not care about structure.&nbsp; It just displays what it finds.&nbsp; Acrobat displays the pages from PDF 1 fine (pages 1-2).&nbsp; However, it blows-up the first three pages from PDF 2 (pages 3-5) to over 6000% to display blank pages, and reports an error.&nbsp; Acrobat displays pages 6 to the end okay.&nbsp; We have had similar problems with PDF generated with VeryPDF's PDFCamp, instead of BlackIce.&nbsp; There may be problems with the PDFs generated by XFRX, but it must be a combination of problems from both PDFs, because not all PDFs have these merging problems.&nbsp; Just looking for a way to merge these PDFs without errors.<br><br>XFRX is created by Eqeus.&nbsp; It is a print listener that compiles into Visual FoxPro apps and prints VFP reports to PDF.&nbsp; XFRX produces text PDFs.&nbsp; The BlackIce print driver is just a Windows printer that prints to PDF.&nbsp; BlackIce is set to produce PDF pages as images.<br><br>Thanks,<br><br>David<br>]]>
   </description>
   <pubDate>Sat, 16 Apr 2011 21:55:14 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/darenderpagetostream_topic1805_post7812.html#7812</guid>
  </item> 
  <item>
   <title><![CDATA[DARenderPageToStream : Be sure to use the latest version...]]></title>
   <link>http://www.quickpdf.org/forum/darenderpagetostream_topic1805_post7811.html#7811</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=121">Wheeley</a><br /><strong>Subject:</strong> 1805<br /><strong>Posted:</strong> 15 Apr 11 at 9:18PM<br /><br />Be sure to use the latest version because Debenu has added better support for reading corrupt PDFs and more compression formats such as JBIG2.<br><br>Wheeley<br>]]>
   </description>
   <pubDate>Fri, 15 Apr 2011 21:18:55 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/darenderpagetostream_topic1805_post7811.html#7811</guid>
  </item> 
  <item>
   <title><![CDATA[DARenderPageToStream : Hi,I did not expect that to work,...]]></title>
   <link>http://www.quickpdf.org/forum/darenderpagetostream_topic1805_post7810.html#7810</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=312">bb46970</a><br /><strong>Subject:</strong> 1805<br /><strong>Posted:</strong> 15 Apr 11 at 6:57PM<br /><br />Hi,<br><br>I did not expect that to work, but it did.&nbsp; I used to use QuickPDF for merging PDFs, but I had to stop, because some of the resulting PDFs were corrupted or zero byte files.&nbsp; Our PDFs come from different sources and do not necessarily have proper structures or may have different compression algorithms.&nbsp; I have been using Acrobat with OLE Automation.&nbsp; This is the first time that I tried MergeFilesFast.&nbsp; It worked on my first test.&nbsp; I even tried Foxit's DLL SDK to merge these two PDFs and got a PDF that Acrobat would not display.&nbsp; I am going to test it with some known problem PDFs and see how it works.<br><br>Thanks,<br><br>David<br> ]]>
   </description>
   <pubDate>Fri, 15 Apr 2011 18:57:27 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/darenderpagetostream_topic1805_post7810.html#7810</guid>
  </item> 
  <item>
   <title><![CDATA[DARenderPageToStream : Why not try one of the merge functions...]]></title>
   <link>http://www.quickpdf.org/forum/darenderpagetostream_topic1805_post7799.html#7799</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=121">Wheeley</a><br /><strong>Subject:</strong> 1805<br /><strong>Posted:</strong> 13 Apr 11 at 8:07PM<br /><br />Why not try one of the merge functions instead? MergeFilesFast could be faster than your method above.<br><br>Wheeley<br>]]>
   </description>
   <pubDate>Wed, 13 Apr 2011 20:07:05 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/darenderpagetostream_topic1805_post7799.html#7799</guid>
  </item> 
  <item>
   <title><![CDATA[DARenderPageToStream : Hi,I have a problem merging PDFs....]]></title>
   <link>http://www.quickpdf.org/forum/darenderpagetostream_topic1805_post7798.html#7798</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=312">bb46970</a><br /><strong>Subject:</strong> 1805<br /><strong>Posted:</strong> 13 Apr 11 at 6:58PM<br /><br />Hi,<br><br>I have a problem merging PDFs.&nbsp; I have tried several different tools.&nbsp; However, on occasion, one of the PDFs may have a problem with a text object or an image object.&nbsp; The resulting PDF may display fine with the Foxit Reader, but Adobe Acrobat reports an error and does not display the page.<br><br>I tried the following.&nbsp; The functions all show valid handles or return 1 (for true), but Acrobat reports an error and Foxit displays blank pages.<br>&nbsp; for iPage := iInvCount downto 1 do<br>&nbsp;&nbsp;&nbsp; begin<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iRecNewPage := QP.DANewPage(iRec);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iRecFirstPage := QP.DAFindPage(iRec, 1);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iInvPage := QP.DAFindPage(iInv, iPage);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iInvCap := QP.DACapturePage(iInv, iInvPage);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if iResult = 0 then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ShowMessage('Did not render');}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iHeight := QP.DAGetPageHeight(iInv, iInvPage);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iWidth := QP.DAGetPageWidth(iInv, iInvPage);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iResult := QP.DADrawCapturedPage(iRec, iInvCap, iRecNewPage, 0, 0, iWidth, iHeight);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if iResult = 0 then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ShowMessage('Did not draw');<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iResult := QP.DAMovePage(iRec, iRecNewPage, iRecFirstPage, 0);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if iResult = 0 then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ShowMessage('Did not move');<br>&nbsp;&nbsp;&nbsp; end;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iResult := QP.DASaveAsFile(iRec, RecordsFileSave);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if iResult = 0 then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ShowMessage('Did not save');<br>&nbsp;&nbsp; QP.DACloseFile(iInv);<br>&nbsp;&nbsp; QP.DACloseFile(iRec);<br><br>QP.DARenderPageToFile(iInv, iInvPage, 7, 300, 'F:\Development\Projects\Test\Delphi\D2010\PDFs\FoxItMerge\test.tiff'); works fine.&nbsp; <br><br>Is there a way to call DARenderPageToStream and then go from the stream to a new page?<br><br>Thanks,<br><br>David<br>]]>
   </description>
   <pubDate>Wed, 13 Apr 2011 18:58:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/darenderpagetostream_topic1805_post7798.html#7798</guid>
  </item> 
 </channel>
</rss>