<?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 : Recommendation needed?</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 : Recommendation needed?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 10:29:52 +0000</pubDate>
  <lastBuildDate>Thu, 03 Jan 2008 08:33:41 +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=850</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[Recommendation needed? : Maybe you should try to Draw Capture/Clone...]]></title>
   <link>http://www.quickpdf.org/forum/recommendation-needed_topic850_post4066.html#4066</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=324">marian_pascalau</a><br /><strong>Subject:</strong> 850<br /><strong>Posted:</strong> 03 Jan 08 at 8:33AM<br /><br />Maybe you should try to Draw Capture/Clone page into a new document. (This was just an idea).]]>
   </description>
   <pubDate>Thu, 03 Jan 2008 08:33:41 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/recommendation-needed_topic850_post4066.html#4066</guid>
  </item> 
  <item>
   <title><![CDATA[Recommendation needed? :    chicks wrote:Use DrawTextBox,...]]></title>
   <link>http://www.quickpdf.org/forum/recommendation-needed_topic850_post4050.html#4050</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=765">mapperkids</a><br /><strong>Subject:</strong> 850<br /><strong>Posted:</strong> 01 Jan 08 at 11:58PM<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by chicks" alt="Originally posted by chicks" style="vertical-align: text-bottom;" /> <strong>chicks wrote:</strong><br /><br />Use DrawTextBox, not DrawText</td></tr></table><br><br>Thank a lot,&nbsp; I have one more problem and don't know how to solve it,<br><br>As i said, I use loadformfile to load up the template then use qp.clone instead of qp.newpage for all the rest of the page, everything ok except on the first page of each pdf file that I produced, always contain my template form.<br><br>Try to delete the first page before save the document, but once i did that&nbsp; it delete all the template on each page as well, I guess because I use the clone command to clone the first page.<br><br>Any idea how to solve this, so I can save some paper instead of waste the paper on the firstpage.<br><br>Thanks!<br><br>]]>
   </description>
   <pubDate>Tue, 01 Jan 2008 23:58:07 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/recommendation-needed_topic850_post4050.html#4050</guid>
  </item> 
  <item>
   <title><![CDATA[Recommendation needed? : Use DrawTextBox, not DrawText ]]></title>
   <link>http://www.quickpdf.org/forum/recommendation-needed_topic850_post4049.html#4049</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=115">chicks</a><br /><strong>Subject:</strong> 850<br /><strong>Posted:</strong> 01 Jan 08 at 10:44PM<br /><br />Use DrawTextBox, not DrawText]]>
   </description>
   <pubDate>Tue, 01 Jan 2008 22:44:16 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/recommendation-needed_topic850_post4049.html#4049</guid>
  </item> 
  <item>
   <title><![CDATA[Recommendation needed? :    chicks wrote:You should only...]]></title>
   <link>http://www.quickpdf.org/forum/recommendation-needed_topic850_post4048.html#4048</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=765">mapperkids</a><br /><strong>Subject:</strong> 850<br /><strong>Posted:</strong> 01 Jan 08 at 8:07PM<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by chicks" alt="Originally posted by chicks" style="vertical-align: text-bottom;" /> <strong>chicks wrote:</strong><br /><br />You should only need to set the font once, then use DrawTextBox function instead of all those form field functions to accomplish the same thing.<br><br>If you have a fixed number of pages to create, with static content, you generally use something like Word to create that, then distill to PDF with Adobe Acrobat, or one of the dozens of PDF "printers" available for free.  Then load up this template in QuickPDF, loop through the pages and add your dynamic content with DrawTextBox.  Should take a few seconds.<br></td></tr></table><br><br>Thank again, the content is dynamic getting from the database<br><br>What I'm using is <br><br>Call QP.LoadFromFile("C:\template.pdf")<br><br>then using Call QP.ClonePages(1, 1, 1) to make the page appear on each page.<br><br>Does it correct?<br><br>I tried to replace my code with this<br><br>Old code<br>=======<br><br>B2form = QP.NewFormField("BUSINESS#", 1)<br>B2form = QP.SetFormFieldStandardFont(1, 1)<br>B2form = QP.SetFormFieldBounds(1, 130, 743, 250, 40)<br>B2form = QP.SetFormFieldValueByTitle("BUSINESS#", tImporterBusiness)<br>B2form = QP.FlattenFormField(1)<br><br>New Code<br>========<br><br>B2form = QP.AddStandardFont(1)<br>B2form = QP.SetTextSize(10)<br><br>B2form = QP.DrawText(130, 743, tImporterBusiness)<br><br><br>But the problem is the even I declared both hortizontal position as 743, but it show in different position output pdf file, any reason why?<br><br>Also, the drawtext function, don't have the width. height parameters, so how can restricted the length of my text field?<br><br>Thanks!<br><br>]]>
   </description>
   <pubDate>Tue, 01 Jan 2008 20:07:09 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/recommendation-needed_topic850_post4048.html#4048</guid>
  </item> 
  <item>
   <title><![CDATA[Recommendation needed? : You should only need to set the...]]></title>
   <link>http://www.quickpdf.org/forum/recommendation-needed_topic850_post4047.html#4047</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=115">chicks</a><br /><strong>Subject:</strong> 850<br /><strong>Posted:</strong> 01 Jan 08 at 1:17PM<br /><br />You should only need to set the font once, then use DrawTextBox function instead of all those form field functions to accomplish the same thing.<br /><br />If you have a fixed number of pages to create, with static content, you generally use something like Word to create that, then distill to PDF with Adobe Acrobat, or one of the dozens of PDF "printers" available for free.  Then load up this template in QuickPDF, loop through the pages and add your dynamic content with DrawTextBox.  Should take a few seconds.<br /><br /><br />]]>
   </description>
   <pubDate>Tue, 01 Jan 2008 13:17:09 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/recommendation-needed_topic850_post4047.html#4047</guid>
  </item> 
  <item>
   <title><![CDATA[Recommendation needed? :    chicks wrote:OK, this code...]]></title>
   <link>http://www.quickpdf.org/forum/recommendation-needed_topic850_post4046.html#4046</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=765">mapperkids</a><br /><strong>Subject:</strong> 850<br /><strong>Posted:</strong> 01 Jan 08 at 12:22PM<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by chicks" alt="Originally posted by chicks" style="vertical-align: text-bottom;" /> <strong>chicks wrote:</strong><br /><br />OK, this code makes no sense.  Why would you create a form field, fill it with text, then immediately flatten it?  No wonder this is slow.  Whey not just draw text directly on the page, and skip all the form field stuff?  I think you'll find it to be much faster.<br><br>Faster yet (probably) would be to create a template (once) with all the required form fields.  Each time you need to produce a PDF, simply load the template, fill and flatten the fields with your data, and save it with a new name.<br></td></tr></table><br><br><br>If the fastest way is to create the template, so could you tell me know to create a template with form field and load up everytime when needed?<br><br>Thanks!<br><br>]]>
   </description>
   <pubDate>Tue, 01 Jan 2008 12:22:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/recommendation-needed_topic850_post4046.html#4046</guid>
  </item> 
  <item>
   <title><![CDATA[Recommendation needed? :    chicks wrote:OK, this code...]]></title>
   <link>http://www.quickpdf.org/forum/recommendation-needed_topic850_post4045.html#4045</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=765">mapperkids</a><br /><strong>Subject:</strong> 850<br /><strong>Posted:</strong> 01 Jan 08 at 12:20PM<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by chicks" alt="Originally posted by chicks" style="vertical-align: text-bottom;" /> <strong>chicks wrote:</strong><br /><br />OK, this code makes no sense.  Why would you create a form field, fill it with text, then immediately flatten it?  No wonder this is slow.  Whey not just draw text directly on the page, and skip all the form field stuff?  I think you'll find it to be much faster.<br><br>Faster yet (probably) would be to create a template (once) with all the required form fields.  Each time you need to produce a PDF, simply load the template, fill and flatten the fields with your data, and save it with a new name.<br></td></tr></table><br><br>Chicks,<br><br>Wow, that is good news to me, the code is create&nbsp; from prior prgrammer and I have no idea why he do that, so could you show me some sample code how to do it, like draw text directly to the form?<br><br>All I need is load a template that is a pre-print form in pdf format and it need to appear on each page.<br><br>then just put the fill data on top of that form.<br><br>Thanks!<br><br>]]>
   </description>
   <pubDate>Tue, 01 Jan 2008 12:20:55 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/recommendation-needed_topic850_post4045.html#4045</guid>
  </item> 
  <item>
   <title><![CDATA[Recommendation needed? : OK, this code makes no sense....]]></title>
   <link>http://www.quickpdf.org/forum/recommendation-needed_topic850_post4044.html#4044</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=115">chicks</a><br /><strong>Subject:</strong> 850<br /><strong>Posted:</strong> 31 Dec 07 at 11:59AM<br /><br />OK, this code makes no sense.  Why would you create a form field, fill it with text, then immediately flatten it?  No wonder this is slow.  Whey not just draw text directly on the page, and skip all the form field stuff?  I think you'll find it to be much faster.<br /><br />Faster yet (probably) would be to create a template (once) with all the required form fields.  Each time you need to produce a PDF, simply load the template, fill and flatten the fields with your data, and save it with a new name.<br />]]>
   </description>
   <pubDate>Mon, 31 Dec 2007 11:59:14 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/recommendation-needed_topic850_post4044.html#4044</guid>
  </item> 
  <item>
   <title><![CDATA[Recommendation needed? : Hi,  Here is example of my code...]]></title>
   <link>http://www.quickpdf.org/forum/recommendation-needed_topic850_post4043.html#4043</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=765">mapperkids</a><br /><strong>Subject:</strong> 850<br /><strong>Posted:</strong> 31 Dec 07 at 10:30AM<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Here is example of my code and just repeat the same thing again and again to populate all the data into the page, </DIV><DIV>&nbsp;</DIV><DIV>I tested it out by rem out all statements&nbsp;that write the text to pdf, then the same process only takes 1 mintue, so&nbsp;I can&nbsp;be sure is not the process of the application needed that much time.&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>B2form = QP.NewFormField("PAGE#", 1)<BR>B2form = QP.SetFormFieldStandardFont(1, 1)<BR>B2form = QP.SetFormFieldBounds(1, 525, 673, 30, 40)<BR>B2form = QP.SetFormFieldValueByTitle("PAGE#", pageno)<BR>B2form = QP.FlattenFormField(1)</DIV><DIV>B2form = QP.NewFormField("TOTPAGE#", 1)<BR>B2form = QP.SetFormFieldStandardFont(1, 1)<BR>B2form = QP.SetFormFieldBounds(1, 565, 673, 30, 40)<BR>B2form = QP.SetFormFieldValueByTitle("TOTPAGE#", totpageno)<BR>B2form = QP.FlattenFormField(1)</DIV><DIV>&nbsp;</DIV><DIV>'Section 5 - Office NO</DIV><DIV>B2form = QP.NewFormField("OFFICE_NO", 1)<BR>B2form = QP.SetFormFieldStandardFont(1, 1)<BR>B2form = QP.SetFormFieldBounds(1, 270, 648, 40, 40)<BR>B2form = QP.SetFormFieldValueByTitle("OFFICE_NO", iportcode)<BR>B2form = QP.FlattenFormField(1)</DIV><DIV>&nbsp;</DIV><DIV>'Section 6 - Transaction No</DIV><DIV>B2form = QP.NewFormField("TRAN_NO", 1)<BR>B2form = QP.SetFormFieldStandardFont(1, 1)<BR>B2form = QP.SetFormFieldBounds(1, 320, 648, 250, 40)<BR>B2form = QP.SetFormFieldValueByTitle("TRAN_NO", itransno)<BR>B2form = QP.FlattenFormField(1)</DIV><DIV>&nbsp;</DIV><DIV>Thanks!!</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 31 Dec 2007 10:30:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/recommendation-needed_topic850_post4043.html#4043</guid>
  </item> 
  <item>
   <title><![CDATA[Recommendation needed? : Hi!A faster machine can&amp;#039;t...]]></title>
   <link>http://www.quickpdf.org/forum/recommendation-needed_topic850_post4042.html#4042</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 850<br /><strong>Posted:</strong> 31 Dec 07 at 6:59AM<br /><br />Hi!<br>A faster machine can't be the solution - you don't know what your customers are using. Don't beat me: Perhaps it's not necessary that your app needs three hours? Perhaps you can post essential code-parts here ... so somebody can have a look over it?<br>Best regards,<br>Ingo<br><br>]]>
   </description>
   <pubDate>Mon, 31 Dec 2007 06:59:48 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/recommendation-needed_topic850_post4042.html#4042</guid>
  </item> 
 </channel>
</rss>