1

I need to add HEADER data with the TCPDF(in codeigniter). like:

HEADING_TEXT_LEFT                                           HEADING_TEXT_RIGHT
______________________________________________________________________________

This type of heading for Left and right I need to add, with two different Text. Also I cannot change the header() function as I am using PDF in several places. So I don't need common place, solution is for this. Is there any way to make this.

I am using this : $this->pdf->SetHeaderData("", "", "", $left_header_text); but this will give only one variable and that is also left side.

Anubhav
  • 352
  • 3
  • 10
  • 22

1 Answers1

1

Have a look at Arturo answer here, this should work fine for you.

Community
  • 1
  • 1
Praveen Dabral
  • 2,449
  • 4
  • 32
  • 46