<?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 : Create PDF on fly in Asp.Net</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 : Create PDF on fly in Asp.Net]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 20 May 2026 05:53:52 +0000</pubDate>
  <lastBuildDate>Wed, 17 Oct 2007 05:16:46 +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=800</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[Create PDF on fly in Asp.Net : Hi!Here&amp;#039;s an example from...]]></title>
   <link>http://www.quickpdf.org/forum/create-pdf-on-fly-in-aspnet_topic800_post3847.html#3847</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 800<br /><strong>Posted:</strong> 17 Oct 07 at 5:16AM<br /><br />Hi!<br><br>Here's an example from the iSED-knowledgebase.<br>I'll insert the complete knowledgebase with Michel here soon.<br><br>Best regards,<br>Ingo<br><br><h1>Knowledge Base</h1><h2>Streaming the PDF document directly to the browser in ASP</h2>TheSaveToVariant function returns a byte array which can be sent directlyto the browser. This method means that you do not need to create aphysical file for your users to download, the file can be sent directlyto the user's browser. <br><br>Setup iSEDQuickPDF according to the previous tutorial. <br><br>Now write an ASP script to generate your PDF document, and stream it to the browser: <div ="codeblock">&lt;%<br>&nbsp;Dim QP<br>&nbsp;Set QP = Server.CreateObject("iSED.QuickPDF")<br>&nbsp;Call QP.UnlockKey("type your license key here")<br>&nbsp;Call QP.DrawText(100, 500, "ASP stream to browser test")<br>&nbsp;Call QP.CompressContent()<br>&nbsp;Response.ContentType = "application/pdf"<br>&nbsp;Response.AddHeader "Content-disposition", _<br>&nbsp;&nbsp;&nbsp;"attachment; filename=test.pdf"<br>&nbsp;Response.BinaryWrite QP.SaveToVariant()<br>&nbsp;Response.End<br>&nbsp;Set QP = Nothing<br>%&gt; </div><br>Thefollowing line compresses the PDF document, this results in a fasterdownload of the document. The CompressContent function should obviouslybe called before the SaveToVariant function. <div ="codeblock">Call QP.CompressContent()</div><br>Now the HTTP headers are set up to tell the browser that the information is a PDF document: <div ="codeblock">Response.ContentType = "application/pdf"<br>Response.AddHeader "Content-disposition", _<br>&nbsp;"attachment; filename=test.pdf"</div><br>Finally,the binary PDF data is generated using the SaveToVariant function, andthe resulting byte stream is sent to the browser. <div ="codeblock">Response.BinaryWrite QP.SaveToVariant()<br>Response.End<br><br></div><br>]]>
   </description>
   <pubDate>Wed, 17 Oct 2007 05:16:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/create-pdf-on-fly-in-aspnet_topic800_post3847.html#3847</guid>
  </item> 
  <item>
   <title><![CDATA[Create PDF on fly in Asp.Net : Hi All, How to create PDF on fly...]]></title>
   <link>http://www.quickpdf.org/forum/create-pdf-on-fly-in-aspnet_topic800_post3844.html#3844</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=740">prashant.mala</a><br /><strong>Subject:</strong> 800<br /><strong>Posted:</strong> 16 Oct 07 at 7:44AM<br /><br />Hi All, <br>How to create PDF on fly in asp.net using QuickPDF..??<br>]]>
   </description>
   <pubDate>Tue, 16 Oct 2007 07:44:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/create-pdf-on-fly-in-aspnet_topic800_post3844.html#3844</guid>
  </item> 
 </channel>
</rss>