Questions tagged [tcpdf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
3k views

How to install TCPDF lib without composer in Magento 2?

Followed these steps: Download TCPDF from https://github.com/tecnickcom/tcpdf Change the name of the file root directory after extraction to TCPDF Inside this directory, there is a tcpdf.php file, ...
  • 1,581
1 vote
2 answers
2k views

How can we pass table to an html variable in php code? Magento2 TCPDF

I am using TCPDF Library to get PDF Downloadable. I have to pass retrieved data through loops to single vaiable as: $tcpdf->writeHTML($html, true, false, true, false, ''); I have to pass these ...
  • 1,581
0 votes
0 answers
1k views

TCPDF ERROR: Unable to create output file in Magento2

I am trying to get PDF Download able, I installed TCPDF library by this: composer require tecnickcom/tcpdf and created PDF Document as: // create new PDF document $pdf = new \TCPDF(...
  • 1,581
0 votes
2 answers
2k views

How to create custom pdf on controller action using TCPDF in magento 2

I have added TCPDF as follows: Downloaded TCPDF library from https://github.com/tecnickcom/tcpdf and place at magento2.0/lib/internal/TCPDF Renamed tcpdf.php to TCPDF.php Opened TCPDF.php and change ...
  • 1,581
1 vote
0 answers
125 views

Integrate TCPDF in Printing Invoice PDF : Magento 2 [duplicate]

How can I use TCPDF in print Invoice PDF, Really I am facing a problem which is Arabic characters are reversed and separated. I did a search a lot for this problem and found Zen PDF has many problems ...
  • 1,332
0 votes
0 answers
615 views

How to use TCPDF in Magento 2

I have a big problem. After I have upgraded my Shop from Magento 1 to Magento 2.1.7 I am not able to run TCPDF. I installed TCPDF via composer in the Vendor folder as described, but when I try to ...
0 votes
1 answer
628 views

Magento 2.2 Add custom library file TCPDF

I need to tcpdf (http://tcpdf.org/) library in magento2.2. I have added this library in Magento2.1.9 in lib/internal/TCPDF folder. In that, I have rename tcpdf.php class to TCPDF.php and tcpdf class ...
  • 889