How set watermark behind text in fpdf
<p>is there who can help me, i had a problem with the watermark in fpdf</p>

<p>Here is my code:</p>

<pre><code>$width_header = array(10,45,25,60,20,15,15);
$set_align    = array('L','L','L','L','R','L','R');
$table_head   = array('No.','Kelompok','Kode Brg','Nama Barang','QTY','','Cek list');
$page_copy    = 0;
$fpdf-&gt;SetFont('Arial','B',11);

$lebar = $fpdf-&gt;w;

$fpdf-&gt;line($fpdf-&gt;GetX(), $fpdf-&gt;GetY(), $fpdf-&gt;GetX()+$lebar-18, $fpdf-&gt;GetY());
$fpdf-&gt;Ln(2);
$fpdf-&gt;SetWidths($width_header);
$fpdf-&gt;SetAligns($set_align);
$fpdf-&gt;SetFont('Arial','B',9);
for($i=1;$i&lt;=1;$i++) {
    $fpdf-&gt;Row_Header($table_head);
}
$fpdf-&gt;line($fpdf-&gt;GetX(), $fpdf-&gt;GetY(), $fpdf-&gt;GetX()+$lebar-18, $fpdf-&gt;GetY());

$no        = 1;
$sub_total = 0;
$sql2 = $this-&gt;adm_entry_penjualan_model-&gt;getDataCetakDetil(" WHERE a.hps&lt;&gt;'*' AND a.no_bukti='$no_bukti_tmp' AND a.tgl='$tgl_tmp' ORDER BY b.acct_no, b.kode_sub");

$fpdf-&gt;SetFont('Arial','',10);

foreach ($sql2-&gt;result_array() as $key_no =&gt; $row2) {
        //Put the watermark
        $fpdf-&gt;SetFont('Arial','B',50);
        $fpdf-&gt;SetTextColor(255,222,233);
        $fpdf-&gt;RotatedText(90,90,'COPY',45);
        $fpdf-&gt;SetFont('Arial','',10);
        $fpdf-&gt;SetTextColor(0,0,0);
        $fpdf-&gt;SetFont('Arial','',10);
    $fpdf-&gt;Row(
        array($no++,
        $row2['acct_name'],
        $row2['kode_sub'],
        $row2['nama_sub'],
        $row2['qty'].' ',
        $row2['satuan'],
        '...'
    ));

    $fpdf-&gt;line($fpdf-&gt;GetX(), $fpdf-&gt;GetY(), $fpdf-&gt;GetX()+$lebar-18, $fpdf-&gt;GetY());

}
</code></pre>

<p>I want a result like this image:</p>

<p><a href="https://i.stack.imgur.com/0g66o.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0g66o.png" alt="image 1"></a></p>

<p>but it looks like this image: </p>

<p><a href="https://i.stack.imgur.com/Po8ca.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Po8ca.png" alt="image 2"></a></p>

<p>what should I change in order to get the results I want</p>

<p>sorry for my bad english</p>