<?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 : page 1342 of 5200</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 : General Discussion : page 1342 of 5200]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 10:12:44 +0000</pubDate>
  <lastBuildDate>Fri, 11 Nov 2016 10:46:45 +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=3405</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[page 1342 of 5200 : Quite simple. Great solution.Thank...]]></title>
   <link>http://www.quickpdf.org/forum/page-1342-of-5200_topic3405_post13544.html#13544</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2911">Necuacuam</a><br /><strong>Subject:</strong> 3405<br /><strong>Posted:</strong> 11 Nov 16 at 10:46AM<br /><br />Quite simple. Great solution.&nbsp;<img src="http://www.quickpdf.org/forum/smileys/smiley32.gif" border="0" alt="Clap" title="Clap" /><div><br></div><div>Thank you&nbsp;<span style=": rgb251, 251, 253; font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: bold;">mLipok</span><span style=": rgb251, 251, 253; font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: bold;">&nbsp;</span></div><div><br></div><div>Best regards&nbsp;<img src="http://www.quickpdf.org/forum/smileys/smiley12.gif" border="0" alt="Sleepy" title="Sleepy" /></div>]]>
   </description>
   <pubDate>Fri, 11 Nov 2016 10:46:45 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/page-1342-of-5200_topic3405_post13544.html#13544</guid>
  </item> 
  <item>
   <title><![CDATA[page 1342 of 5200 : First generate entire document.Second...]]></title>
   <link>http://www.quickpdf.org/forum/page-1342-of-5200_topic3405_post13543.html#13543</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2557">mLipok</a><br /><strong>Subject:</strong> 3405<br /><strong>Posted:</strong> 11 Nov 16 at 10:11AM<br /><br />First generate entire document.<br>Second add page numbering.<div><br></div><div>This is what I make for my self:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div>; #FUNCTION# ====================================================================================================================</div><div>; Name ..........: _QPDF_PageEnumerator</div><div>; Description ...:</div><div>; Syntax ........: _QPDF_PageEnumerator(Byref $oQP&#091;, $sFormat = 'Page: %d of %d'&#093;)</div><div>; Parameters ....: $oQP &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - &#091;in/out&#093; an object.</div><div>; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$sFormat &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - &#091;optional&#093; a string value. Default is 'Page: %d of %d'.</div><div>; Return values .: None</div><div>; Author ........: mLipok</div><div>; Modified ......:</div><div>; Remarks .......:</div><div>; Related .......:</div><div>; Link ..........:</div><div>; Example .......: No</div><div>; ===============================================================================================================================</div><div>Func _QPDF_PageEnumerator(ByRef $oQP, $sFormat = 'Page: %d of %d')</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>Local $iX = 0</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>Local $iY = $__eQPDF_A4_HeightInMM - 20</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>Local $iCounter = $oQP.PageCount()</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>Local $sText = ''</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>Local $iTextWidth = 0</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>For $iPage = 1 To $iCounter</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.SelectPage($iPage)</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.SetOrigin($__eQPDF_SORIGIN_TopLeft) ;</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.SetMeasurementUnits($__eQPDF_MUNITS_Milimeters)</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>$sText = StringFormat($sFormat, $iPage, $iCounter)</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.SetTextSize(5)</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>$iTextWidth = $oQP.GetTextWidth($sText)</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>$iX = $__eQPDF_A4_WidthInMM - $iTextWidth - 10</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.DrawText($iX, $iY, $sText)</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>Next</div><div><br></div><div>EndFunc &nbsp; &nbsp;;==&gt;_QPDF_PageEnumerator</div></div><div></pre></td></tr></table></div>]]>
   </description>
   <pubDate>Fri, 11 Nov 2016 10:11:40 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/page-1342-of-5200_topic3405_post13543.html#13543</guid>
  </item> 
  <item>
   <title><![CDATA[page 1342 of 5200 : Hi!I need to create PDF files...]]></title>
   <link>http://www.quickpdf.org/forum/page-1342-of-5200_topic3405_post13542.html#13542</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2911">Necuacuam</a><br /><strong>Subject:</strong> 3405<br /><strong>Posted:</strong> 11 Nov 16 at 9:00AM<br /><br />Hi!&nbsp;<img src="http://www.quickpdf.org/forum/smileys/smiley17.gif" border="0" alt="T&#111;ngue" title="T&#111;ngue" /><div><br><div>I need to create PDF files on the fly. When the process is started I don't know how many pages the file will have. Nevertheless, I need to inform the amount of pages at the page foot (e.g. "page 1342 of 5200").</div><div><br></div><div>I tried to use the ReplaceTag command replacing a string like #ReplaceWithPageCount with the sum of the file pages. This method fails when the tag was written with a non-standard font&nbsp;<img src="http://www.quickpdf.org/forum/smileys/smiley18.gif" border="0" alt="Ouch" title="Ouch" /></div><div><br></div><div>I am sure this scenario is not quite odd and I would like to know possible solutions for this problem.</div><div><br></div><div>Best regards&nbsp;<img src="http://www.quickpdf.org/forum/smileys/smiley12.gif" border="0" alt="Sleepy" title="Sleepy" /></div><div><br></div><div><br></div></div>]]>
   </description>
   <pubDate>Fri, 11 Nov 2016 09:00:28 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/page-1342-of-5200_topic3405_post13542.html#13542</guid>
  </item> 
 </channel>
</rss>