HEX
Server: Apache
System: Linux v38079.2is.nl 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: democfellows (10015)
PHP: 8.1.34
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/creativefellows.nl/jhtaxatie.creativefellows.nl/classes/Pdf.php
<?php

use setasign\Fpdi\Tcpdf\Fpdi;

class Pdf extends Fpdi
{
	/**
     * "Remembers" the template id of the imported page
     */
    protected $tplId;

    /**
     * Draw an imported PDF logo on every page
     */
    function Header()
    {	
		
		 if ($this->page == 1) {	
			 
			 
			$this->setXY(204,285);
			$this->StartTransform();
			$this->rotate(90);
			$this->SetFont($this->font_light,"",6);	
			
			$this->writeHTMLCell(20, null, null, null, sprintf('%05d', $this->request_id)	);
			$this->StopTransform();
		}
		
		//$this->addRequestId(426);
     /*   if ($this->tplId === null) {
            $this->setSourceFile('logo.pdf');
            $this->tplId = $this->importPage(1);
        }
        $size = $this->useImportedPage($this->tplId, 130, 5, 60);

        $this->SetFont('freesans', 'B', 20);
        $this->SetTextColor(0);
        $this->SetXY(PDF_MARGIN_LEFT, 5);
        $this->Cell(0, $size['height'], 'TCPDF and FPDI');*/
    }

    function Footer(){}
	
}