User Activity

  • Posted a comment on discussion Help on TCPDF - PHP class for PDF

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

  • Posted a comment on discussion Help on TCPDF - PHP class for PDF

    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.

  • Posted a comment on discussion Help on TCPDF - PHP class for PDF

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

  • Posted a comment on discussion Help on TCPDF - PHP class for PDF

    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.

  • Posted a comment on discussion Help on TCPDF - PHP class for PDF

    Can someone help me?

  • Modified a comment on discussion Help on TCPDF - PHP class for PDF

    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);...

  • Modified a comment on discussion Help on TCPDF - PHP class for PDF

    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);...

  • Posted a comment on discussion Help on TCPDF - PHP class for PDF

    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);...

View All

Personal Data

Username:
abrarsheikh
Joined:
2017-07-24 00:33:29

Projects

  • No projects to display.

Personal Tools