Hi i am using tcpdf in my application and i have two question about that.I am able to get pdf output of a html page when i click specified button.
My first question is:How can i download that html’s pdf output when i click that button?($pdf->lastPage() didn’work).
My second question is:How can i set character encoding for Trkish?(I am using dejavusans but some turkish characters appears as question mark)
Thank for advance…
for the output you should take a look at the examples: http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf_examples
I would not recommend to set the character encoding to turkish. I recommend using utf8 instead. (dejavusans is not an encoding it as a font)