<?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 : Draw Text onto Existing PDF</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 : Draw Text onto Existing PDF]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 19:10:48 +0000</pubDate>
  <lastBuildDate>Fri, 27 Apr 2007 12:05:48 +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=714</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[Draw Text onto Existing PDF : Hi Marian,  That works really...]]></title>
   <link>http://www.quickpdf.org/forum/draw-text-onto-existing-pdf_topic714_post3462.html#3462</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=580">Tim Hayes</a><br /><strong>Subject:</strong> 714<br /><strong>Posted:</strong> 27 Apr 07 at 12:05PM<br /><br />Hi Marian,<DIV>&nbsp;</DIV><DIV>That works really well! Thankyou. I am not sure how one gets to find these things - are there a variety of "settings" (see Ingo's note above) that should be used when opening and working with existing PDF's?</DIV><DIV>&nbsp;</DIV><DIV>I really appreciate the work that you, Ingo and others are doing to support QuickPDF. I have read all there is to read on the "disappearance" of the author/owner - I do hope he or she reappears soon!</DIV><DIV>&nbsp;</DIV><DIV>However, in the meantime, I am committed to embedding QuickPDF in a new product I am building. I am new to the product, but along the&nbsp;way, what can I do to help?&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I am happy to start writing some extended "how to use / what its all about" documentation as I go along. Of course I may need to ask some questions.</DIV><DIV>&nbsp;</DIV><DIV>I am also happy to contribute code - for instance (although I have not yet delved into it) I see that the CPP version of ZLib is used. I have a Pascal translation that works very well, and would be willing to contribute it if there is a requirement.</DIV><DIV>&nbsp;</DIV><DIV>Let me know how I can help.</DIV><DIV>&nbsp;</DIV><DIV>Regards</DIV><DIV>Tim Hayes</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 27 Apr 2007 12:05:48 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/draw-text-onto-existing-pdf_topic714_post3462.html#3462</guid>
  </item> 
  <item>
   <title><![CDATA[Draw Text onto Existing PDF : Hi Tim, I have checked your problem....]]></title>
   <link>http://www.quickpdf.org/forum/draw-text-onto-existing-pdf_topic714_post3461.html#3461</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> 714<br /><strong>Posted:</strong> 27 Apr 07 at 8:12AM<br /><br /><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="COLOR: #1f497d; mso-themecolor: dark2"><FONT size=3><FONT face=Calibri>Hi Tim,<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><FONT face=Calibri>I have checked your problem. The difference between the two files is caused by the fact that one of the document alter the page coordinate system and when you believe to paint something on 500/100 you realy paint somewhere else.<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; mso-themecolor: dark2; mso-ansi-: EN-US"><O:P><FONT face=Calibri size=3>&nbsp;</FONT></O:P></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><FONT face=Calibri>This is not so bad if you know what is happening. For you I have a solution. In your sample program you need to add 2x lines of code:<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; mso-themecolor: dark2; mso-ansi-: EN-US"><O:P><FONT face=Calibri size=3>&nbsp;</FONT></O:P></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>QPDox.LoadFromFile(ExtractFilePath(ParamStr(0)) + '\Test_Scan.pdf');<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><FONT color=#006600><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>// &lt;Marian note=”avoid creation of additional layer”&gt;<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><FONT color=#006600><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>//<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>By default QuickPDF will add a so called <O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><FONT color=#006600><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>//<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>safe layer which create additional content stream.<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><FONT color=#006600><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>//<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Because we want to modify the original content we <O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><FONT color=#006600><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>//<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>don’t need this feature. <O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><FONT color=#ff0000><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>QPDox.UseUnsafeLayers(1); <O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><FONT color=#006600><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>// &lt;/Marian&gt;<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>with QPdox do<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>begin<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>for i := 1 to PageCount do<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>begin<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>SelectPage (i);<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><FONT color=#006600><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>// &lt;Marian note=”save&amp;restore canvas status”&gt;<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><FONT color=#ff0000><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>SetPageContent('q'#13#10 + // save canvas status<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><FONT color=#ff0000><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Trim(GetPageContent) + // previous content<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><FONT color=#ff0000><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>#13#10'Q'#13#10);<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>// restore canvas status<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><FONT color=#006600><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>// &lt;/Marian&gt;<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>DrawText(500, 100, 'Page : ' + inttostr(i)); <O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>// now this should work as well :-)<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>end;<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>SaveToFile(ExtractFilePath(ParamStr(0)) + '\Test_Scan_Out.pdf');<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>// this does not work<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN lang=EN-US style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'; mso-themecolor: dark2; mso-ansi-: EN-US"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>end;<O:P></O:P></FONT></SPAN></P><span style="font-size:10px"><br /><br />Edited by marian_pascalau - 27 Apr 07 at 8:14AM</span>]]>
   </description>
   <pubDate>Fri, 27 Apr 2007 08:12:21 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/draw-text-onto-existing-pdf_topic714_post3461.html#3461</guid>
  </item> 
  <item>
   <title><![CDATA[Draw Text onto Existing PDF : Hi Tim!Perhaps it have to do with...]]></title>
   <link>http://www.quickpdf.org/forum/draw-text-onto-existing-pdf_topic714_post3458.html#3458</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 714<br /><strong>Posted:</strong> 27 Apr 07 at 2:26AM<br /><br />Hi Tim!<br><br>Perhaps it have to do with the fix output position...<br>Letter is different from A4 - Is "500, 100" for both okay?<br>Are there rotated pages?<br>You should use SetMeasurementUnits and SetOrigin before Drawing.<br><br>Best regards,<br>Ingo<br><br>]]>
   </description>
   <pubDate>Fri, 27 Apr 2007 02:26:17 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/draw-text-onto-existing-pdf_topic714_post3458.html#3458</guid>
  </item> 
  <item>
   <title><![CDATA[Draw Text onto Existing PDF : Marian  Newcomer apologies.  I...]]></title>
   <link>http://www.quickpdf.org/forum/draw-text-onto-existing-pdf_topic714_post3452.html#3452</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=580">Tim Hayes</a><br /><strong>Subject:</strong> 714<br /><strong>Posted:</strong> 26 Apr 07 at 12:21PM<br /><br />Marian<DIV>&nbsp;</DIV><DIV>Newcomer apologies.</DIV><DIV>&nbsp;</DIV><DIV>I have sent you a sample project with test files.</DIV><DIV>&nbsp;</DIV><DIV>The code I am using is as follows:</DIV><DIV>&nbsp;</DIV><DIV>procedure Tqpdf01.btExecClick(Sender: TObject);<BR>var QPDox : TiSEDQuickPDF;<BR>&nbsp;&nbsp;&nbsp; i : integer;<BR>begin<BR>// 1st try with the scanned PDF<BR>&nbsp; QPDox := TiSEDQuickPDF.Create;<BR>&nbsp; try<BR>&nbsp;&nbsp;&nbsp; screen.Cursor := crhourglass;<BR>&nbsp;&nbsp;&nbsp; QPDox.UnlockKey('as needed');<BR>&nbsp;&nbsp;&nbsp; QPDox.LoadFromFile(ExtractFilePath(ParamStr(0)) + '\Test_Scan.pdf');<BR>&nbsp;&nbsp;&nbsp; with QPdox do begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for i := 1 to PageCount<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SelectPage(i);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DrawText(500, 100, 'Page : ' + inttostr(i));<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SaveToFile(ExtractFilePath(ParamStr(0)) + '\Test_Scan_Out.pdf');<BR>// this does not work<BR>&nbsp;&nbsp;&nbsp; end;<BR>&nbsp; finally<BR>&nbsp;&nbsp;&nbsp; QPDox.Free;<BR>&nbsp;&nbsp;&nbsp; screen.Cursor := crdefault;<BR>&nbsp; end;</DIV><DIV>// now try with the reprinted PDF<BR>&nbsp; QPDox := TiSEDQuickPDF.Create;<BR>&nbsp; try<BR>&nbsp;&nbsp;&nbsp; screen.Cursor := crhourglass;<BR>&nbsp;&nbsp;&nbsp; QPDox.UnlockKey('as needed');<BR>&nbsp;&nbsp;&nbsp; QPDox.LoadFromFile(ExtractFilePath(ParamStr(0)) + '\Test_ScanNew.pdf');<BR>&nbsp;&nbsp;&nbsp; with QPdox do begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for i := 1 to PageCount<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SelectPage(i);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DrawText(500, 100, 'Page : ' + inttostr(i));<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SaveToFile(ExtractFilePath(ParamStr(0)) + '\Test_ScanNew_Out.pdf');<BR>// this works<BR>&nbsp;&nbsp;&nbsp; end;<BR>&nbsp; finally<BR>&nbsp;&nbsp;&nbsp; QPDox.Free;<BR>&nbsp;&nbsp;&nbsp; screen.Cursor := crdefault;<BR>&nbsp; end;</DIV><DIV>end;<BR></DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>Tim Hayes</DIV>]]>
   </description>
   <pubDate>Thu, 26 Apr 2007 12:21:48 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/draw-text-onto-existing-pdf_topic714_post3452.html#3452</guid>
  </item> 
  <item>
   <title><![CDATA[Draw Text onto Existing PDF : Tim, for debug purpose you should...]]></title>
   <link>http://www.quickpdf.org/forum/draw-text-onto-existing-pdf_topic714_post3451.html#3451</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> 714<br /><strong>Posted:</strong> 26 Apr 07 at 11:43AM<br /><br />Tim, for debug purpose you should prepare a small demo and send it to support(at)quickpdf.org<DIV>&nbsp;</DIV><DIV>Or at least you should post the piece of code who writes the page numbers.</DIV>]]>
   </description>
   <pubDate>Thu, 26 Apr 2007 11:43:05 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/draw-text-onto-existing-pdf_topic714_post3451.html#3451</guid>
  </item> 
  <item>
   <title><![CDATA[Draw Text onto Existing PDF : Hi,  I am new to QuickPDF.  I...]]></title>
   <link>http://www.quickpdf.org/forum/draw-text-onto-existing-pdf_topic714_post3450.html#3450</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=580">Tim Hayes</a><br /><strong>Subject:</strong> 714<br /><strong>Posted:</strong> 26 Apr 07 at 9:51AM<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I am new to QuickPDF.</DIV><DIV>&nbsp;</DIV><DIV>I am seeking to be able to add using&nbsp;&nbsp;(for instance) page numbers to a PDF that has already been created&nbsp;from a&nbsp;scanner utility. I am using the DRAWTEXT command.</DIV><DIV>&nbsp;</DIV><DIV>I have tested the command on a new document and it works fine (unlock is done).</DIV><DIV>&nbsp;</DIV><DIV>On my scanned PDF, the printed output is not visible.</DIV><DIV>&nbsp;</DIV><DIV>However, I have used FinePrintFactory Pro to print the PDF to another PDF file, and now I can DRAWTEXT and the result is visible.</DIV><DIV>&nbsp;</DIV><DIV>There is no difference in the permissions settings between the files. The only visible differences are (a)&nbsp;the original&nbsp;is A4, the other Letter and (b) the original is 859kb long and the new PDF is 1253kb long - suggesting that there is a compression issue.</DIV><DIV>&nbsp;</DIV><DIV>I am probably doing something really stupid. Any suggestions would be most helpful.</DIV><DIV>&nbsp;</DIV><DIV>Many thanks</DIV><DIV>Tim Hayes</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 26 Apr 2007 09:51:17 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/draw-text-onto-existing-pdf_topic714_post3450.html#3450</guid>
  </item> 
 </channel>
</rss>