function __construct() { parent::__construct('P', 'mm', 'A4'); $this->SetLeftMargin(20); $this->SetTopMargin(5); $this->SetRightMargin(20); $this->SetLineWidth($this->small); }