How to set the background color for every page tcpdf
问题 I'm currently using TCPDF to generate a resume in my web application. But with the limited support for css have cornered me. Now I'm trying to apply the background color for the every page that is generated. But I'm only getting the color for the first page. My code is: <?php class PROFILE_PDF extends TCPDF { public function Header() { $this->SetFillColor(52, 21, 0, 76); $this->Rect(0, 0, $this->getPageWidth(), $this->getPageHeight(), 'DF', ""); } private $footer_data = array(); public