Activity for Abrar Sheikh

  • Abrar Sheikh Abrar Sheikh posted a comment on discussion Help

    How can i solve with transaction. How can i use the transaction in this situation.

  • Abrar Sheikh Abrar Sheikh posted a comment on discussion Help

    Hi Simon, After commenting below code it is working fine. if ($plendiff == 0) { // remove last blank page $this->deletePage($this->numpages); } But i have one more thing to ask you that in my company we are using this tcpdf liabrary for other PDF generation too so if i comment the above code will it affect to other PDFs. Please let me know. And Thank you do much for your help.

  • Abrar Sheikh Abrar Sheikh posted a comment on discussion Help

    Hi Simon, Thank you for quick response. the Correct footer is attahced please see it.

  • Abrar Sheikh Abrar Sheikh posted a comment on discussion Help

    Hi Simon, Yes, You are right the new page is empty and i just want to print the footer in the next page...How can i resolve this problem. Please help.

  • Abrar Sheikh Abrar Sheikh posted a comment on discussion Help

    Can someone help me?

  • Abrar Sheikh Abrar Sheikh modified a comment on discussion Help

    Hi, I'm developing a report that has a different footer on it's last page. Following Nicola's recommended approach I've overriden the Close() function on my custom TCPDF subclass like so: public function Close() { $this->last_page_flag = true; parent::Close(); } And then on the Footer() function I do something like: function Footer(){ if($this->last_page_flag){ $footer_html = '...'; //HTML for the footer on the last page } else{ $footer_html = '...'; //HTML for the rest of the pages } $this->setY(-$this->_footerMargin);...

  • Abrar Sheikh Abrar Sheikh modified a comment on discussion Help

    Hi, I'm developing a report that has a different footer on it's last page. Following Nicola's recommended approach I've overriden the Close() function on my custom TCPDF subclass like so: public function Close() { $this->last_page_flag = true; parent::Close(); } And then on the Footer() function I do something like: function Footer(){ if($this->last_page_flag){ $footer_html = '...'; //HTML for the footer on the last page } else{ $footer_html = '...'; //HTML for the rest of the pages } $this->setY(-$this->_footerMargin);...

  • Abrar Sheikh Abrar Sheikh posted a comment on discussion Help

    Hi, I'm developing a report that has a different footer on it's last page. Following Nicola's recommended approach I've overriden the Close() function on my custom TCPDF subclass like so: public function Close() { $this->last_page_flag = true; parent::Close(); } And then on the Footer() function I do something like: function Footer(){ if($this->last_page_flag){ $footer_html = '...'; //HTML for the footer on the last page } else{ $footer_html = '...'; //HTML for the rest of the pages } $this->setY(-$this->_footerMargin);...

  • Abrar Sheikh Abrar Sheikh posted a comment on ticket #873

    Hi i have the same problem. Could you please help me how to resolve this issue.

1