<?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 : Insert Lines In 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 : Insert Lines In PDF]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 14 Jul 2026 05:12:49 +0000</pubDate>
  <lastBuildDate>Sat, 18 Apr 2009 06:57:33 +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=1064</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[Insert Lines In PDF : Thank you for your quick reply...]]></title>
   <link>http://www.quickpdf.org/forum/insert-lines-in-pdf_topic1064_post4990.html#4990</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1043">Danish_k12</a><br /><strong>Subject:</strong> 1064<br /><strong>Posted:</strong> 18 Apr 09 at 6:57AM<br /><br />Thank you for your quick reply the code is now working without error.<br>But there is a major issue we have to always work on may files (400 to 500) each&nbsp; being nearly 20,000 pages.<br>The above code is taking 1 sec for 2 pages which is quite slow it will take a large amount of time for me to process it.<br>One thing i have notice is the speed is reducing as the number of pages increase like for suppose first 1000 page it took me 10 min next thousand page it has taken me 15 min and so on....<br>]]>
   </description>
   <pubDate>Sat, 18 Apr 2009 06:57:33 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/insert-lines-in-pdf_topic1064_post4990.html#4990</guid>
  </item> 
  <item>
   <title><![CDATA[Insert Lines In PDF : You shoul avoid mixing direct...]]></title>
   <link>http://www.quickpdf.org/forum/insert-lines-in-pdf_topic1064_post4989.html#4989</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=129">DELBEKE</a><br /><strong>Subject:</strong> 1064<br /><strong>Posted:</strong> 18 Apr 09 at 5:34AM<br /><br />You shoul avoid mixing direct acces function (those begining whit the DA prefix) with standards ones. <DIV>&nbsp;</DIV><DIV>here is a sample of what you should do</DIV><DIV>Private Sub Command1_Click()<BR>Dim Qp As QuickPDFAX0712.PDFLibrary<BR>Dim I As Long<BR>Dim PageCount As Long<BR>Dim Liner As String<BR>Dim DocId As Long</DIV><DIV>Set Qp = CreateObject("QuickPDFAX0712.PDFLibrary")<BR>Call Qp.UnlockKey("my key")<BR>Qp.LoadFromFile ("c:\test.pdf")<BR>DocId = Qp.GetDocumentID(1)<BR>PageCount = Qp.PageCount<BR>For I = 1 To PageCount<BR>&nbsp; Qp.SelectPage I<BR>&nbsp; Liner = Qp.GetPageText(0)<BR>&nbsp; If InStr(1, Liner, "Page No 1") &gt; 0 Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call Qp.DrawLine(10, 750, 100, 750)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call Qp.DrawLine(10, 700, 100, 700)<BR>&nbsp; Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call Qp.DrawLine(10, 700, 100, 700)<BR>&nbsp; End If<BR>Next I<BR>Qp.SaveToFile "c:\test_omr.pdf')"<BR>Qp.RemoveDocument DocId<BR>End Sub</DIV><span style="font-size:10px"><br /><br />Edited by DELBEKE - 18 Apr 09 at 5:35AM</span>]]>
   </description>
   <pubDate>Sat, 18 Apr 2009 05:34:43 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/insert-lines-in-pdf_topic1064_post4989.html#4989</guid>
  </item> 
  <item>
   <title><![CDATA[Insert Lines In PDF : I work in a Company which deals...]]></title>
   <link>http://www.quickpdf.org/forum/insert-lines-in-pdf_topic1064_post4988.html#4988</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1043">Danish_k12</a><br /><strong>Subject:</strong> 1064<br /><strong>Posted:</strong> 18 Apr 09 at 5:10AM<br /><br />I work in a Company which deals in Variable Data Printing (VDP). We recieve file in various format. I am currently working as a Sr.Software Engineer and have do deal with file manipulation.<br>I have done file manipulation in text format, html format, etc.<br>The only format i have been unsuccessful is PDF format.<br>Recently i posted a article about this in Dani Web as mostly i programmed using Vb6 (Think pretty good in it).<br>And got link to quick PDF.<br>Well I think it would do most of my job.<br>I need to sort PDF file on basis of their pincode, Insert OMR LINE etc.<br>Well I started with Inserting OMR LINE in vb6.<br>Sample Code:<br><br>Set qp = CreateObject("QuickPDFAX0712.PDFLibrary")<br>Call qp.UnlockKey("Licence Key")<br>qp.LoadFromFile ("c:\test.pdf")<br><br>a = qp.DAOpenFile("c:\test.pdf", "")<br>pagecount = qp.pagecount<br>For i = 1 To pagecount<br>&nbsp;&nbsp;&nbsp; b = qp.DAFindPage(a, i)<br>&nbsp;&nbsp;&nbsp; liner = qp.DAExtractPageText(a, b, 0)<br>&nbsp;&nbsp;&nbsp; qp.SelectPage (i)<br>&nbsp;&nbsp;&nbsp; If InStr(1, liner, "Page No 1") &gt; 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call qp.DrawLine(10, 750, 100, 750)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call qp.DrawLine(10, 700, 100, 700)<br>&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call qp.DrawLine(10, 700, 100, 700)<br>&nbsp;&nbsp;&nbsp; End If<br>Next i<br><br>(For those who are not familiar with VDP I'll Explain wat i m trying to do here I have to insert two lines on 1st page of all statement and one line on remaining pages of that statement )<br><br>It is working fine for me the problem is it gives error after 117 page approx. Out Of Memory <img src="http://www.quickpdf.org/forum/smileys/smiley11.gif" border="0" align="absmiddle" alt="Dead" /><br><br>Please Help. What should i do?????<br>Where am i gng wrong.???? <br><br>Regards,<br>Danish Khan<br><br>]]>
   </description>
   <pubDate>Sat, 18 Apr 2009 05:10:02 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/insert-lines-in-pdf_topic1064_post4988.html#4988</guid>
  </item> 
 </channel>
</rss>