<?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 : Different results with similar pdf&#039;s</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 : Different results with similar pdf&#039;s]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 23:55:43 +0000</pubDate>
  <lastBuildDate>Tue, 24 May 2011 13:06:11 +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=1834</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[Different results with similar pdf&#039;s : That is exactly what i have done....]]></title>
   <link>http://www.quickpdf.org/forum/different-results-with-similar-pdfs_topic1834_post7931.html#7931</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1604">ezaidi</a><br /><strong>Subject:</strong> 1834<br /><strong>Posted:</strong> 24 May 11 at 1:06PM<br /><br />That is exactly what i have done. In my new code I use qp.getinformation(6) and check for pdfplot and then scale by 8. It seems to work well but im still confused as to why pagewidth and pageheight functions give the unscaled resolution. I dont know if this is a bug with quickpdf or what. I would have liked to keep my code clean and have a general solution which works with all pdf versions. Unfortunately, the function which generates the pdf's in autocad does not have any configurations to play with the resolution. <br><br>I guess we will have to live with this.<br><br>Thanks for your help guys<br>]]>
   </description>
   <pubDate>Tue, 24 May 2011 13:06:11 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/different-results-with-similar-pdfs_topic1834_post7931.html#7931</guid>
  </item> 
  <item>
   <title><![CDATA[Different results with similar pdf&#039;s :   I&amp;#039;ve seen this before...]]></title>
   <link>http://www.quickpdf.org/forum/different-results-with-similar-pdfs_topic1834_post7925.html#7925</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=951">Rallsolo</a><br /><strong>Subject:</strong> 1834<br /><strong>Posted:</strong> 22 May 11 at 2:28AM<br /><br />I've seen this before in PDFs created from different sources.&nbsp; It has to do with the resolution of the original images placed on the PDFs.&nbsp; One way you can automate the scale&nbsp;is to check the string returned by QP.GetInformation(6) which will give you who created the PDF.&nbsp; If it says pdfplot, automatically multiply by 8.&nbsp; Either that or play with the resolution in AutoCAD when you produce the plot if you can.]]>
   </description>
   <pubDate>Sun, 22 May 2011 02:28:12 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/different-results-with-similar-pdfs_topic1834_post7925.html#7925</guid>
  </item> 
  <item>
   <title><![CDATA[Different results with similar pdf&#039;s : Hi, I dont think this has to do...]]></title>
   <link>http://www.quickpdf.org/forum/different-results-with-similar-pdfs_topic1834_post7920.html#7920</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1604">ezaidi</a><br /><strong>Subject:</strong> 1834<br /><strong>Posted:</strong> 20 May 11 at 9:01PM<br /><br />Hi, I dont think this has to do with rotation. What seems to be going on is the page size scaling. When I use the pagewidth and height methods, I get 1000 and 1545 respectively on both good and bad pdf's. I use these sizes to decide where my stamp will go. The problem is on the bad pdf, my stamp appears minuscule and completely away from where it should be placed. I also noticed that in order to get my stamp to appear at the right place I have to multiply everything by a factor of 8. For example this works:<br><br>Call QP.DrawRotatedImage(mStampLeft * 8, mStampBot * 8, QP.ImageWidth * 8, QP.ImageHeight * 8, Rotation)<br><br>Why is there a factor of 8 needed yet the page height and width are the same, the rotation is the same. The only discernible difference is that one pdf was generated with pdfplot10.hdi through autocad and one pdf is generated with distiller (which gives good results)<br><br>Let me know if you have any understanding about the scaling that is occurring. <br>]]>
   </description>
   <pubDate>Fri, 20 May 2011 21:01:28 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/different-results-with-similar-pdfs_topic1834_post7920.html#7920</guid>
  </item> 
  <item>
   <title><![CDATA[Different results with similar pdf&#039;s : Hi!This here is only a user-user-forum...]]></title>
   <link>http://www.quickpdf.org/forum/different-results-with-similar-pdfs_topic1834_post7919.html#7919</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1834<br /><strong>Posted:</strong> 20 May 11 at 3:05PM<br /><br />Hi!<br><br>This here is only a user-user-forum here.<br>Your code isn't pascal/delphi (my favourite) and it's not a complete project.<br>So there won't be anybody who can try your code in a quick way.<br>You should investigate in things having to do with "rotation".<br>If origin is 0 but one page is rotated (and it is!) after creation then your stamp goes into nothing ;-)<br>Open the files with notepad and search for "rotate"...<br>Try other values using the "bad" pdf...<br>You can try the official knowledgebase in this case, too.<br><br>Cheers, Ingo<br><br><br><br>]]>
   </description>
   <pubDate>Fri, 20 May 2011 15:05:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/different-results-with-similar-pdfs_topic1834_post7919.html#7919</guid>
  </item> 
  <item>
   <title><![CDATA[Different results with similar pdf&#039;s : Hi, I gave the pdf&amp;#039;s which...]]></title>
   <link>http://www.quickpdf.org/forum/different-results-with-similar-pdfs_topic1834_post7918.html#7918</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1604">ezaidi</a><br /><strong>Subject:</strong> 1834<br /><strong>Posted:</strong> 20 May 11 at 2:10PM<br /><br />Hi, I gave the pdf's which have not yet had an overlay stamped. If you run the code I use, you will see that the stamp will yield different results on both pdf's. The getorigin function seems to always give me 0 on either pdf.<br><br>Thank you for your help<br>]]>
   </description>
   <pubDate>Fri, 20 May 2011 14:10:12 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/different-results-with-similar-pdfs_topic1834_post7918.html#7918</guid>
  </item> 
  <item>
   <title><![CDATA[Different results with similar pdf&#039;s : Hi Ezaidi!I&amp;#039;ve thought there...]]></title>
   <link>http://www.quickpdf.org/forum/different-results-with-similar-pdfs_topic1834_post7916.html#7916</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1834<br /><strong>Posted:</strong> 19 May 11 at 7:28PM<br /><br />Hi Ezaidi!<br><br>I've thought there was a stamp (the png in the zip) on both pdf?<br>I don't find a stamp on both pdf. Nothing.<br>So i don't know where's the problem but i can imagine ... ;-)<br>I don't see a GetOrigin in your code ...<br>Please read all about SetOrigin and GetOrigin in the online reference:<br>http://www.quickpdflibrary.com/help/quickpdf/MeasurementAndCoordinateUnits.php<br>Normally the highest pixel-row is at the top and the lowest is at the bottom but you can't be sure so have a look on SetOrigin and GetOrigin.<br><br>Cheers and welcome here,<br>Ingo<br><br>]]>
   </description>
   <pubDate>Thu, 19 May 2011 19:28:18 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/different-results-with-similar-pdfs_topic1834_post7916.html#7916</guid>
  </item> 
  <item>
   <title><![CDATA[Different results with similar pdf&#039;s : Hi I am trying to stamp some pdf...]]></title>
   <link>http://www.quickpdf.org/forum/different-results-with-similar-pdfs_topic1834_post7914.html#7914</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1604">ezaidi</a><br /><strong>Subject:</strong> 1834<br /><strong>Posted:</strong> 19 May 11 at 3:54PM<br /><br />Hi I am trying to stamp some pdf files with an overlay, however I seem to be getting different results when creating the stamp on a pdf file generated through autocad with the pdfplot10.hdi 10.0.55.0 driver. All other distiller created pdf's are fine. Here are links to the files I used. Two files are of same height and width and one is a png overlay file.<br><br><b>http://uploading.com/files/31ac5971/Pdf_overlay_problem.zip/</b><br><br>Here is the code I use:<br><br>Call QP.SelectPage(I)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>Rem create a new layer to apply the stamp on and select it<br>Call QP.NewLayer<br>Call QP.SelectLayer(QP.LayerCount)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>Rem set the transarency of the image<br>Call QP.SetTransparency(40)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>Rem Set scale based on Page Ht value<br>If QP.PageWidth &lt; QP.PageHeight Then<br>&nbsp;&nbsp;&nbsp; mScale = QP.PageWidth * 0.8 / 800<br>Else<br>&nbsp;&nbsp;&nbsp; mScale = QP.PageHeight * 0.8 / 800<br>End If<br>Call QP.SetScale(mScale)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>mStampLeft = (QP.PageWidth - QP.ImageWidth) / 2<br>mStampBot = QP.PageHeight - 10 - QP.ImageHeight<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>Call QP.DrawRotatedImage(mStampLeft, mStampBot, QP.ImageWidth, QP.ImageHeight, 0)<br><br>QP.SaveToFile(GetWinDirectories("TempDir") &amp; "Temp.pdf")<br><br><br>Please let me know if this can be fixed.<br><br>Thanks!<br>]]>
   </description>
   <pubDate>Thu, 19 May 2011 15:54:04 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/different-results-with-similar-pdfs_topic1834_post7914.html#7914</guid>
  </item> 
 </channel>
</rss>