<?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 : PDF Stamps or WaterMarks</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 : PDF Stamps or WaterMarks]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 08:34:17 +0000</pubDate>
  <lastBuildDate>Fri, 30 Dec 2005 11:00:51 +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=229</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[PDF Stamps or WaterMarks : Hi Ingo   Sure, centralizing is...]]></title>
   <link>http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post810.html#810</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=153">jabaltie</a><br /><strong>Subject:</strong> 229<br /><strong>Posted:</strong> 30 Dec 05 at 11:00AM<br /><br />Hi Ingo <br /><br />Sure, centralizing is a piece of cake ! I managed to get it working based on your hints (script at end).<br /><br />Now I'm still having problems with Adding Font. Dont know why it doesnt work... <br /><br />Would it maybe be because the PDF file already has Arial ?<br /><br />-------------------------------------------------------<br /><br />OPTION EXPLICIT<br /><br />DIM objMyForm,nReturn,nCount,nI,fName,fValue,poptions,atf,ts,tl,Text,xPos,yPos<br /><br />Set objMyForm = WScript.CreateObject("ISED.QUICKPDF")<br /><br />WScript.Echo "UnlockKey" ,objMyForm.unlockkey("mykey")<br />WScript.Echo "LoadFile " ,objMyForm.LoadFromFile("TEST.PDF")<br />WScript.Echo "Origin&nbsp;&nbsp;&nbsp;" ,objMyForm.SetOrigin(1)<br />WScript.Echo "Units&nbsp;&nbsp;&nbsp;&nbsp;" ,objMyForm.SetMeasurementUnits(0)  'means pixel<br />WScript.Echo "paginas  " ,objMyForm.PageCount<br />WScript.Echo "sel page " ,objMyForm.SelectPage(1)<br />WScript.Echo "unencript" ,objMyForm.Unencrypt<br />WScript.Echo "add font " ,atf = objMyForm.AddTrueTypeFont("Arial &#091;Bold&#093; {850}", 1)  ' Font Arial Bold ... But not embedded !<br />WScript.Echo "sel font " ,objMyForm.SelectFont(atf)<br />WScript.Echo "set trans" ,objMyForm.SetTransparency(50)<br /><br />Text="I'm Mr WaterMark !"<br /><br />xPos=(objMyForm.PageWidth - objMyForm.GetTextWidth(Text)) \ 2<br />yPos=objMyForm.PageHeight-10<br />'yPos=20<br /><br />WScript.Echo "draw&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;",objMyForm.DrawRotatedText(xPos,yPos,0,Text)<br />WScript.Echo "save&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;",objMyForm.SaveToFile("C:\TEMP\TEST.PDF")]]>
   </description>
   <pubDate>Fri, 30 Dec 2005 11:00:51 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post810.html#810</guid>
  </item> 
  <item>
   <title><![CDATA[PDF Stamps or WaterMarks : Hi! Centralizing isn&amp;#039;t a...]]></title>
   <link>http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post807.html#807</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 229<br /><strong>Posted:</strong> 30 Dec 05 at 9:16AM<br /><br />Hi!<br />Centralizing isn't a problem.<br />You need the pagewidth and -height,<br />The textlength and fontsize...<br />and then you have to do some maths... pagewidth div 2 and so on...<br />]]>
   </description>
   <pubDate>Fri, 30 Dec 2005 09:16:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post807.html#807</guid>
  </item> 
  <item>
   <title><![CDATA[PDF Stamps or WaterMarks : Hi Ingo   Once more, thank you...]]></title>
   <link>http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post806.html#806</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=153">jabaltie</a><br /><strong>Subject:</strong> 229<br /><strong>Posted:</strong> 30 Dec 05 at 6:35AM<br /><br />Hi Ingo <br /><br />Once more, thank you for your help. However, you're trying to speak German while I'm still trying to understand English !<br /><br />I managed to simplify a lot your program, rewriting it in VBScript to work as a simple command line one. I think VBScript is a more common designator for us all. As a matter of fact, I'll have to port it later to XBase++ wich is the language I work with here. <br /><br />Also, to make things even simpler I just want to add the WaterMark on top of the page, at first.<br /><br />Then, I still need some help with the script below. Cant have it centralizing the text on the page...<br /><br />OPTION EXPLICIT<br /><br />DIM objMyForm,nReturn,nCount,nI,fName,fValue,poptions,atf,ts,tl,Text,xPos,yPos<br /><br />Set objMyForm = WScript.CreateObject("ISED.QUICKPDF")<br /><br />Text="I'm Mr WaterMark !"<br /><br />WScript.Echo "UnlockKey" ,objMyForm.unlockkey("mykey")<br />WScript.Echo "LoadFile " ,objMyForm.LoadFromFile("TEST.PDF")<br />WScript.Echo "Origin&nbsp;&nbsp;&nbsp;" ,objMyForm.SetOrigin(1)<br />WScript.Echo "Units&nbsp;&nbsp;&nbsp;&nbsp;" ,objMyForm.SetMeasurementUnits(0)  'means pixel<br />WScript.Echo "paginas  " ,objMyForm.PageCount<br />WScript.Echo "sel page " ,objMyForm.SelectPage(1)<br />WScript.Echo "unencript" ,objMyForm.Unencrypt<br />WScript.Echo "add font " ,atf = objMyForm.AddTrueTypeFont("Arial &#091;Bold&#093; {850}", 1)  ' Font Arial Bold ... But not embedded !<br />WScript.Echo "sel font " ,objMyForm.SelectFont(atf)<br />WScript.Echo "page heig" ,objMyForm.PageHeight<br />WScript.Echo "pag width" ,objMyForm.PageWidth<br />ts=18<br />WScript.Echo "set txtsz" ,objMyForm.SetTextSize(18)<br />WScript.Echo "set trans" ,objMyForm.SetTransparency(50)<br /><br />xPos=(objMyForm.PageWidth - ts) \ 2 - ts<br />yPos=objMyForm.PageHeight-10<br />yPos=20<br /><br />WScript.Echo "xPos&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" ,xPos<br />WScript.Echo "yPos&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" ,yPos<br /><br />WScript.Echo "draw&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;",objMyForm.DrawRotatedText(xPos,yPos,0,Text)<br />WScript.Echo "save&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;",objMyForm.SaveToFile("C:\TEMP\TEST.PDF")<br /><br />I'm using this PDF :<br /><br />http://www.DES.online.unimep.br/rps/ag/ag223a.pdf]]>
   </description>
   <pubDate>Fri, 30 Dec 2005 06:35:57 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post806.html#806</guid>
  </item> 
  <item>
   <title><![CDATA[PDF Stamps or WaterMarks : Hi! It last a bit to prepare the...]]></title>
   <link>http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post804.html#804</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 229<br /><strong>Posted:</strong> 29 Dec 05 at 4:48PM<br /><br />Hi!<br />It last a bit to prepare the code for you but here it is...<br />I've posted it in the sample area at "Watermark...".<br />I hope it makes your work a bit more easier.<br />Good luck, happy clicking and the best wishes (to the other readers, too) for 2006!<br /><br />]]>
   </description>
   <pubDate>Thu, 29 Dec 2005 16:48:02 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post804.html#804</guid>
  </item> 
  <item>
   <title><![CDATA[PDF Stamps or WaterMarks : Hi Ingo !  Have you got my PDF...]]></title>
   <link>http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post802.html#802</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=153">jabaltie</a><br /><strong>Subject:</strong> 229<br /><strong>Posted:</strong> 29 Dec 05 at 2:14PM<br /><br />Hi Ingo !<br /><br />Have you got my PDF template ? The one I suggested above ?<br /><br />Maybe we could have several positions for the WaterMark. But let's start with your suggestion anyway and we add positioning later.<br /><br />On the other hand, how could I be angry with you when you're beeing so kind ?<br /><br />Once more, thank you so much !<br /><br />Auf wiedersehn !]]>
   </description>
   <pubDate>Thu, 29 Dec 2005 14:14:57 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post802.html#802</guid>
  </item> 
  <item>
   <title><![CDATA[PDF Stamps or WaterMarks : Hi again!  I think the watermark...]]></title>
   <link>http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post801.html#801</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 229<br /><strong>Posted:</strong> 29 Dec 05 at 7:31AM<br /><br />Hi again!<br /><br />I think the watermark should be placed diagonally in the top right corner. I've much to do but i hope i can send you a working sample this evening ... If not - don't be too angry... i try it ;-)<br /><br />]]>
   </description>
   <pubDate>Thu, 29 Dec 2005 07:31:23 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post801.html#801</guid>
  </item> 
  <item>
   <title><![CDATA[PDF Stamps or WaterMarks : Hi Ingo !  Thank you so much for...]]></title>
   <link>http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post800.html#800</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=153">jabaltie</a><br /><strong>Subject:</strong> 229<br /><strong>Posted:</strong> 29 Dec 05 at 5:42AM<br /><br />Hi Ingo !<br /><br />Thank you so much for your support .<br /><br />Even if you're not that Master you're more Master than I :-)<br /><br />I do agree that the process should be centralized, to always look the same way.<br /><br />Can we have a standard placing for the watermark ? I think so...<br /><br />Should you want to see how a template of ours is , go get one from here :<br /><br />http://www.online.unimep.br/rps/ag/ag223a.pdf<br /><br />It is a document that proofs that the student is enrolled to our University.<br /><br />Thanks again 4 your help !]]>
   </description>
   <pubDate>Thu, 29 Dec 2005 05:42:41 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post800.html#800</guid>
  </item> 
  <item>
   <title><![CDATA[PDF Stamps or WaterMarks : Hi! I&amp;#039;m not a &amp;#034;PDF Master&amp;#034;...]]></title>
   <link>http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post799.html#799</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 229<br /><strong>Posted:</strong> 29 Dec 05 at 5:31AM<br /><br />Hi!<br />I'm not a "PDF Master" but ... ;-)<br />The last program producing the final pdf-file should do this job 'cause then it looks on every pdf in the same way.<br />It should be a watermark. As transparency value you should set 75 percent - so it doesn't disturb while reading.<br />You can do this all with QuickPDF. I'm out of office now but i'll send you a code-snippet (in delphi) this evening.<br />]]>
   </description>
   <pubDate>Thu, 29 Dec 2005 05:31:31 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post799.html#799</guid>
  </item> 
  <item>
   <title><![CDATA[PDF Stamps or WaterMarks : I have several PDF templates,...]]></title>
   <link>http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post798.html#798</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=153">jabaltie</a><br /><strong>Subject:</strong> 229<br /><strong>Posted:</strong> 29 Dec 05 at 5:11AM<br /><br />I have several PDF templates, which one with its own design. Each one may be elaborated by a different developer. These templates are PDFs with empty form fields.<br /><br />The process of stuffing data into the fields is centralized by a single program. This program grabs data from XML documents and merge it into the fields. Basically the XML document is a field name/field content relation.<br /><br />On this program, that does generates the final PDFs, I want to add some sayings to the output PDF. Something like this :<br /><br />"This document was digitally generated by 'X Institution', on DD/MM/YYYY at HH:MM:SS and has this unique protocol number : 999999".<br /><br />I dont know which is the best approach to add these sayings to the document. I've thought about :<br /><br />1) Demand the developers to provide these fields (or sayings) on each and every designed template. I think it would be difficult to keep a standard, however, because each person could do it differently or even worse - dont do it at all.<br /><br />2) Add some sort of stamp to the generated PDF. I've seen something about stamps on PDFs but I dont know exactly what is it. <br /><br />3) Use some sort of watermark. Dont know if we can do that with PDFs.<br /><br />What do you "PDF masters" out there think of it ? What's the best approach ? Is there another one beyond the ones I suggested ?<br /><br />Thanks in advance 4 your help !]]>
   </description>
   <pubDate>Thu, 29 Dec 2005 05:11:29 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdf-stamps-or-watermarks_topic229_post798.html#798</guid>
  </item> 
 </channel>
</rss>