You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In cases of a PDF with a header and a footer, where the content (in my case, a table) fully covers the last page from top to bottom, so there is no space at all, the last_page_flag does not get set appropriately, the Close() function being called only after the last page is written.
public function Close() {
$this->last_page_flag = true;
parent::Close();
}