<?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 : Cannot Draw anything</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 : Cannot Draw anything]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 01:04:03 +0000</pubDate>
  <lastBuildDate>Fri, 16 Feb 2007 20:11:50 +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=643</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[Cannot Draw anything : Hey people, I solved it! :) The...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2979.html#2979</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=579">Boris</a><br /><strong>Subject:</strong> 643<br /><strong>Posted:</strong> 16 Feb 07 at 8:11PM<br /><br />Hey people, I solved it! :)<br>The main problem was the fact xHarbour does not use so stritly definedvariable types. We basicaly have DOUBLE, INT, WORD and LONG<br>Whatever I put as the variable type in the finction DrawText() it didin't print anything!<br><br>Finaly I found that we can also use _DOUBLE variable type (11) and thisdid the whole trick! Now I can print wherever I want, save the changedPDF and have all the data written on the proper location pf PDF<br><br>If someone is working in xHarbour + Fivewin, I am here to help andexplain and send the sample code. I really don't like the idea someoneelse should spent 2 days of a very hard work and hear pulling like me.:)<br><br>Now I can continue testing and working with xHarbour as before. Printing PDF as I need it.<br><br>Ingo, thanks again for helping with the demo key.<br>I am sure after a few days of testing I will buy this DLL retail key<br><br>regards to all,<br>it's time to get some rest. :)<br>Boris<br><br><br><br>]]>
   </description>
   <pubDate>Fri, 16 Feb 2007 20:11:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2979.html#2979</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot Draw anything : Marian,  Thanks for your time.  I...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2978.html#2978</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=579">Boris</a><br /><strong>Subject:</strong> 643<br /><strong>Posted:</strong> 16 Feb 07 at 10:09AM<br /><br />Marian, <br>Thanks for your time.<br><br>I am using 5.21 now<br>I never used this kind of apporach you suggest, so I don't know what todo with the script you sent :( Is this some text file I have to create?<br><br>Can you explain me please, where to load the script and how to run this test?<br><br>regards<br>Boris<br><br><br>]]>
   </description>
   <pubDate>Fri, 16 Feb 2007 10:09:49 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2978.html#2978</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot Draw anything : For those who care here is a small...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2977.html#2977</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> 643<br /><strong>Posted:</strong> 16 Feb 07 at 9:35AM<br /><br /><P>For those who care here is a small VBS program to test the QuickPDF ActiveX capabilities. </P><P>Boris, this test was made specially for your problem. It shows that the PDF creation it works as expected. But of course I have never used the 5.11. Please register the latest ActiveX dll (5.21) and try again:</P><P>&lt;Test cmd-file="test.bat"&gt;<BR>cscript //nologo PDFTester.vbs<BR>rem will generate file: testdrawtext.pdf<BR>rem with 1 single page.</P><P>copy testdrawtext.pdf testdrawtext-2pages.pdf<BR>cscript //nologo PDFTester.vbs testdrawtext-2pages.pdf<BR>rem will modify testdrawtext-2pages.pdf<BR>rem and add a second page.</P><P>open testdrawtext.pdf<BR>rem must have 1 page with your text at 100,500</P><P>open testdrawtext-2pages.pdf<BR>rem must have 2 pages, both with your text at 100,500</P><P>rem for a custom test run<BR>cscript //nologo PDFTester.vbs test1.pdf <BR>rem as result you should see your text appended to test1.pdf <BR>rem document<BR>&lt;/Test&gt;</P><P>&lt;Script filename="PDFTester.vbs"&gt;<BR>option explicit<BR>on error resume next<BR>' The main proc<BR>call main(WScript.Arguments)</P><P>' On error Quit with exit code 1<BR>if Err.Number &lt;&gt; 0 then<BR>&nbsp;WScript.Echo "Error # " &amp; CStr(Err.Number) &amp; " " &amp; Err.Description<BR>&nbsp;WScript.Quit(1)<BR>end if</P><P>function main(args)<BR>&nbsp;&nbsp;&nbsp; dim iPDF<BR>&nbsp;&nbsp;&nbsp; set iPDF = CreateObject("iSED.QuickPDF2")</P><P>&nbsp;&nbsp;&nbsp; if iPDF.UnlockKey("your quickpdf key") &lt;&gt; 1 then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Err.Raise vbObjectError, , "Cannot unlock PDF library"<BR>&nbsp;&nbsp;&nbsp; end if</P><P>&nbsp;&nbsp;&nbsp; if args.Count = 0 then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; call processPage(iPDF, 1, "testdrawtext.pdf")<BR>&nbsp;&nbsp;&nbsp; else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dim i<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for i = 0 to args.Count - 1 <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WScript.Echo "Process: " &amp; args(i)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if iPDF.LoadFromFile(args(i)) &lt;&gt; 1 then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Err.Raise vbObjectError, , "Cannot load pdf document: " &amp; args(i)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end if</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dim ndoc, npage<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ndoc&nbsp; = iPDF.SelectedDocument<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; npage = iPDF.NewPage</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; call processPage(iPDF, npage, args(i))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; call iPDF.RemoveDocument(ndoc)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; next<BR>&nbsp;&nbsp;&nbsp; end if</P><P>&nbsp;&nbsp;&nbsp; set iPDF = Nothing<BR>end function</P><P>function processPage(iPDF, npage, pdffile)</P><P>&nbsp;&nbsp;&nbsp; call iPDF.AddStandardFont(4)<BR>&nbsp;&nbsp;&nbsp; call iPDF.SetTextSize(10)<BR>&nbsp;&nbsp;&nbsp; call iPDF.SelectPage(nPage)<BR>&nbsp;&nbsp;&nbsp; call iPDF.DrawText(100, 500, "SOME TESTED TEXT")</P><P>&nbsp;&nbsp;&nbsp; call iPDF.SaveToFile(pdffile)</P><P>end function</P><P>&lt;/Script&gt;</P>]]>
   </description>
   <pubDate>Fri, 16 Feb 2007 09:35:16 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2977.html#2977</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot Draw anything :      Ingo wrote:Hi Boris!Only...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2976.html#2976</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=579">Boris</a><br /><strong>Subject:</strong> 643<br /><strong>Posted:</strong> 16 Feb 07 at 8:52AM<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Ingo" alt="Originally posted by Ingo" style="vertical-align: text-bottom;" /> <strong>Ingo wrote:</strong><br /><br />Hi Boris!<br><br>Only for testing:<br>There're a lot of tools for textextraction...<br>Can you extract (and then see) your text from the document?<br><br>Best regards,<br>Ingo<br><br></td></tr></table><br>Hi Ingo,<br><br>the situation is as follows:<br>1. The tutor1.PDF is used as the start file and is of length 10,852 and 1 page<br>2. When loded I select page 1 and write some text ono the first page<br>3. Then I add a new page so now we have 2 pages<br>4. I select the page 2 and write some text onto the page 2<br>5. I save the new file tutor2.PDF<br>6 I ExtractFilePages() from tutor2.PDF and write it into tutor3.PDF<br><br>7. I ExtractFilePageText() from the 1, page from tutor1.PDF and got all the text on that page, it is unchanged as original<br><br>8. I ExtractFilePageText() from the 1. page from tutor2.PDF and got allthe text on that page. It should have my text written on this page, butit also show only the original text as in tutor1.PDF<br><br>9. I ExtractFilePageText() from the 2. page from tutor2.PDF and gotnothing! It should show at least one string I wrote onto the secondpage I added. This second page is visible when open it with viewer, butis empty.<br><br>The lengths:<br>tutor1.PDF = 10,852<br>tutor2.PDF = 12,982&nbsp; (created from tutor1 + text + new page)<br>tutor3.PDF = 12,715&nbsp; (created from tutor2 only first page)<br><br>Files:<br><a href="http://codemaker.files-upload.com/files/105419/tutor1.pdf" target="_blank">Tutor1.pdf</a> the original, unchanged<br><a href="http://codemaker.files-upload.com/files/105420/tutor2.pdf" target="_blank">Tutor2.pdf</a><br>(The changed with text on first page, a new page and text on it)<br><br>Any ideas?<br>Can you load tutor1.pdf, put some text on the first page, add a newpage and put some text on second page, then tsave it to tutor2.pdf andsee the text when viewing?<br><br>Thank you <br>Regards<br>Boris<br><br><br><br><br><br><span style="font-size:10px"><br /><br />Edited by Boris - 16 Feb 07 at 9:01AM</span>]]>
   </description>
   <pubDate>Fri, 16 Feb 2007 08:52:05 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2976.html#2976</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot Draw anything :    ukobsa wrote:Boris,can you...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2975.html#2975</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=579">Boris</a><br /><strong>Subject:</strong> 643<br /><strong>Posted:</strong> 16 Feb 07 at 8:36AM<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by ukobsa" alt="Originally posted by ukobsa" style="vertical-align: text-bottom;" /> <strong>ukobsa wrote:</strong><br /><br />Boris,<br><br>can you try it with version 5.14 or 5.21 (look for 'Library Downloads' section)?<br><br>And if this doesn't help, can you email the created PDF to support/at/quickpdf.org<br><br><br>best regards,<br>Ulrich<br></td></tr></table><br>I downloaded the 5.21 and have the same problem <img src="http://www.quickpdf.org/forum/smileys/smiley5.gif" border="0" align="middle" alt="C&#111;nfused" /><br>]]>
   </description>
   <pubDate>Fri, 16 Feb 2007 08:36:31 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2975.html#2975</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot Draw anything : Hi Boris!Only for testing:There&amp;#039;re...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2974.html#2974</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 643<br /><strong>Posted:</strong> 16 Feb 07 at 7:54AM<br /><br />Hi Boris!<br><br>Only for testing:<br>There're a lot of tools for textextraction...<br>Can you extract (and then see) your text from the document?<br><br>Best regards,<br>Ingo<br><br>]]>
   </description>
   <pubDate>Fri, 16 Feb 2007 07:54:06 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2974.html#2974</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot Draw anything : Boris,can you try it with version...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2973.html#2973</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=370">ukobsa</a><br /><strong>Subject:</strong> 643<br /><strong>Posted:</strong> 16 Feb 07 at 7:19AM<br /><br />Boris,<br><br>can you try it with version 5.14 or 5.21 (look for 'Library Downloads' section)?<br><br>And if this doesn't help, can you email the created PDF to support/at/quickpdf.org<br><br><br>best regards,<br>Ulrich<br>]]>
   </description>
   <pubDate>Fri, 16 Feb 2007 07:19:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2973.html#2973</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot Draw anything :    ukobsa wrote:Boris,which...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2972.html#2972</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=579">Boris</a><br /><strong>Subject:</strong> 643<br /><strong>Posted:</strong> 16 Feb 07 at 7:03AM<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by ukobsa" alt="Originally posted by ukobsa" style="vertical-align: text-bottom;" /> <strong>ukobsa wrote:</strong><br /><br />Boris,<br><br>which version of QuickPDF are you using?I have tested it on my system and here it works fine (ok, it was notthe dll version but my source version). <br>Another idea: can you tryto draw the text on position (50,50)? If it works fine then you shouldsee the text on the lower left part of your page &#091;Reason: if you have asmall page (i.e. A5) then drawing on (100, 500) could draw it outsidethe page&#093;<br><br>HTH,<br>Ulrich<br></td></tr></table><br>I am using 5.11 ( as reported from the function LibraryVersion() )<br><br>I tried to write on the positions 15,15 and also on 105,50<br>The same result.<br>The main problem is that the newly saved test2.PDF HAS some new contentin comparation woth test1.PDF (the original) because is bigger sizethan original...<br><br>My original PDF page sizes are A4<br><br>Regards<br>Boris<br><br>]]>
   </description>
   <pubDate>Fri, 16 Feb 2007 07:03:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2972.html#2972</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot Draw anything :     Ingo wrote:Hi Boris!Please...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2971.html#2971</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=579">Boris</a><br /><strong>Subject:</strong> 643<br /><strong>Posted:</strong> 16 Feb 07 at 6:59AM<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Ingo" alt="Originally posted by Ingo" style="vertical-align: text-bottom;" /> <strong>Ingo wrote:</strong><br /><br />Hi Boris!<br><br>Please first try the samples from the original iSED-site:<br>http://isedquickpdf.com/?pg=kb<br>You unlocked the library?<br><br>Best regards,<br>Ingo<br><br></td></tr></table><br>- My library version&nbsp; reports: 5.11<br><br>- yes I unlocked the DLL, othervise it would not make another PDF and save it to disk.<br><br>yes, I followed one of the samples after loading the test1.PDF (100K long)<br>nSelected = SelectedDocument()<br>SetOrigin(1)<br>SetmeasurementUnits(1)<br>f1 = AddStandardFont(4)<br>f2 = AddStandardFont(5)<br>f3 = AddTrueTypeFont("Verdana",0)<br>SelectFont(f1)<br>SettextColor(1,0,0)<br>SettextSize(24)<br>Drawtext(15,15,"Some RED text from Boris")<br>SelectFont(f2)<br>SettextColor(0,0,1)<br>SettextSize(46)<br>Drawtext(105,50,"Some BLUE text from Boris")<br>RemoveDocument( nSelected )<br><br>Then I saved to a new test2.PDF which shows 102K long, meaning there IS some content, but is invisible? <br>Maybe bacause of LAYERS? Maybe my text was BEHIND the existing content?<br><br>I feel I am so close and so far at the same time :(<br><br>regards<br>Boris<br><br><span style="font-size:10px"><br /><br />Edited by Boris - 16 Feb 07 at 7:04AM</span>]]>
   </description>
   <pubDate>Fri, 16 Feb 2007 06:59:26 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2971.html#2971</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot Draw anything : Boris,which version of QuickPDF...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2966.html#2966</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=370">ukobsa</a><br /><strong>Subject:</strong> 643<br /><strong>Posted:</strong> 16 Feb 07 at 2:48AM<br /><br />Boris,<br><br>which version of QuickPDF are you using? I have tested it on my system and here it works fine (ok, it was not the dll version but my source version). <br>Another idea: can you try to draw the text on position (50,50)? If it works fine then you should see the text on the lower left part of your page &#091;Reason: if you have a small page (i.e. A5) then drawing on (100, 500) could draw it outside the page&#093;<br><br>HTH,<br>Ulrich<br>]]>
   </description>
   <pubDate>Fri, 16 Feb 2007 02:48:12 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-draw-anything_topic643_post2966.html#2966</guid>
  </item> 
 </channel>
</rss>