Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Two watermark applying in PDF

Shaji_KGL
Level 2
Level 2

Hi Team,

We need to apply two watermark one at top and bottom. "Proof Only".

Already we are doing for single watermark, here is the DDX.

=======

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="doc2.pdf" save="Full">
<Watermark opacity="10%" verticalOffset="347pt">
<StyledText>
<p font-family="Times New Roman" font-size="74pt" font-weight="bold" color="black">Proof Only</p>
</StyledText>
</Watermark>
<PDF source="doc1.source"/>
</PDF>
<?ddx-source-hint name="doc1.source"?>
</DDX>

===========

For second watermark I tried repeated the <watermark> its not allowing. 

Sample PDF below 

 

ShajiCapture.PNG

 

1 Accepted Solution
Kosta_Prokopiu1
Correct answer by
Employee
Employee

You need to use transient results to apply another watermark on the same page:

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
  <PDF result="transient" return="false">
    <Watermark opacity="10%" verticalOffset="347pt">
      <StyledText>
        <p font-family="Times New Roman" font-size="74pt" font-weight="bold" color="black">Proof Only</p>
      </StyledText>
    </Watermark>
  <PDF source="Doc1"/>
</PDF>

<PDF result="outDoc">
  <Watermark opacity="10%" verticalOffset="-347pt" replaceExisting="false">
    <StyledText>
      <p font-family="Times New Roman" font-size="74pt" font-weight="bold" color="black">Proof Only2</p>
    </StyledText>
  </Watermark>
  <PDF source="transient"/>
</PDF>
</DDX>

View solution in original post

0 Replies
Kosta_Prokopiu1
Correct answer by
Employee
Employee

You need to use transient results to apply another watermark on the same page:

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
  <PDF result="transient" return="false">
    <Watermark opacity="10%" verticalOffset="347pt">
      <StyledText>
        <p font-family="Times New Roman" font-size="74pt" font-weight="bold" color="black">Proof Only</p>
      </StyledText>
    </Watermark>
  <PDF source="Doc1"/>
</PDF>

<PDF result="outDoc">
  <Watermark opacity="10%" verticalOffset="-347pt" replaceExisting="false">
    <StyledText>
      <p font-family="Times New Roman" font-size="74pt" font-weight="bold" color="black">Proof Only2</p>
    </StyledText>
  </Watermark>
  <PDF source="transient"/>
</PDF>
</DDX>

View solution in original post

Shaji_KGL
Level 2
Level 2
Hi Kosta_Prokopiu1: Thank you for the response, I will try this method and let you know if I get the result.
Shaji_KGL
Level 2
Level 2

Hi Kosta_Prokopiu1: The above DDX works fine.

There is a updation got to change it as graphic. When they try to add comments in acrobat ready, this watermark getting selected.

I have outlines the content and created as pdf.

Try to use <graphic> element with path, but it showing error path not found, please advice.

=======

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="transient" return="false">
<Watermark opacity="10%" verticalOffset="347pt">
<StyledText>
<p><graphic source="D:/Asset/proof.pdf"/></p>
</StyledText>
</Watermark>
<PDF source="Doc1"/>
</PDF>

<PDF result="outDoc">
<Watermark opacity="10%" verticalOffset="-347pt" replaceExisting="false">
<StyledText>
<p><graphic source="D:/Asset/proof.pdf"/></p>
</StyledText>
</Watermark>
<PDF source="transient"/>
</PDF>
</DDX>

=======

Shaji