html2pdf
- drsawbones
- Joomla! Explorer
- Posts: 339
- Joined: Fri Jun 06, 2008 10:00 am
- Location: Arizona USA
- Contact:
Re: html2pdf
Hello and Welcome!
Please preview documentation and videos for learning Joomla!
http://docs.joomla.org/Beginners
In Joomla! when you create an article, you have a management option to display a pdf icon on the article - parameters "show" pdf icon. This will automatically insert the ability to generate that viewable content rendering it as a pdf to be either downloaded or displayed on screen on the fly/automatically.
If you need help locating this parameter, please report back.
Regards,
Doc
Please preview documentation and videos for learning Joomla!
http://docs.joomla.org/Beginners
In Joomla! when you create an article, you have a management option to display a pdf icon on the article - parameters "show" pdf icon. This will automatically insert the ability to generate that viewable content rendering it as a pdf to be either downloaded or displayed on screen on the fly/automatically.
If you need help locating this parameter, please report back.
Regards,
Doc
joomla-webmasters.com
-
- Joomla! Apprentice
- Posts: 26
- Joined: Tue Jun 30, 2009 2:32 am
Re: html2pdf
thanks for ur reply but I wanna kno how to use that module , what class could I use to do that.
In fact I have one task read data from DB to display on HTML then I need to generate that HTML
to pdf file when I click on my button.Could you guide me how to do that? what class I should use ?
Thanks
In fact I have one task read data from DB to display on HTML then I need to generate that HTML
to pdf file when I click on my button.Could you guide me how to do that? what class I should use ?
Thanks
- drsawbones
- Joomla! Explorer
- Posts: 339
- Joined: Fri Jun 06, 2008 10:00 am
- Location: Arizona USA
- Contact:
Re: html2pdf
Ah! I'm so sorry, I didn't pay close attention to your forum location, and have been answering new to joomla for 3 hours.
Perhaps what you seek is here:
http://api.joomla.org/Joomla-Framework/ ... ntPDF.html
Doc
Perhaps what you seek is here:
http://api.joomla.org/Joomla-Framework/ ... ntPDF.html
Doc
joomla-webmasters.com
-
- Joomla! Apprentice
- Posts: 26
- Joined: Tue Jun 30, 2009 2:32 am
Re: html2pdf
Hi everybody,
When I use method writeHTML of TCPDF object I got an error
"TCPDF error: Undefined font: B". Could you tell me what is this problem? how
could I fixed that?
Thanks
When I use method writeHTML of TCPDF object I got an error
"TCPDF error: Undefined font: B". Could you tell me what is this problem? how
could I fixed that?
Thanks
- drsawbones
- Joomla! Explorer
- Posts: 339
- Joined: Fri Jun 06, 2008 10:00 am
- Location: Arizona USA
- Contact:
Re: html2pdf
I've never done it, but found the source
http://api.joomla.org/__filesource/fsou ... html#a4449
maybe others more knowledgeable about such features will be here soon for you.
Doc
http://api.joomla.org/__filesource/fsou ... html#a4449
maybe others more knowledgeable about such features will be here soon for you.
Doc
joomla-webmasters.com
-
- Joomla! Apprentice
- Posts: 26
- Joined: Tue Jun 30, 2009 2:32 am
Re: html2pdf
Thanks for your reply but in fact I had include this file already but it's still require
"TCPDF error: Undefined font: B". Could you please help me please!!!
Thanks
"TCPDF error: Undefined font: B". Could you please help me please!!!
Thanks
- drsawbones
- Joomla! Explorer
- Posts: 339
- Joined: Fri Jun 06, 2008 10:00 am
- Location: Arizona USA
- Contact:
Re: html2pdf
Hopeful, and still trying to dig up relevant information for you.
Try this one:
http://www.akamarketing.com/blog/109-ph ... tcpdf.html
(fingers crossed)
Doc
Try this one:
http://www.akamarketing.com/blog/109-ph ... tcpdf.html
(fingers crossed)
Doc
joomla-webmasters.com
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu Oct 27, 2011 3:17 pm
Re: html2pdf
Guys its easy to fix this error
just check ur config for the K_PATH_MAIN variable it should look something like this:
/**
* installation path (/var/www/tcpdf/)
*/
define("K_PATH_MAIN", JPATH_SITE.DS.'libraries'.DS."tcpdf".DS);
/**
* url path (http://localhost/tcpdf/)
*/
//define ("K_PATH_URL", "http://localhost/_OPENSOURCE/tcpdf/");
define("K_PATH_URL", JURI::base().DS.'libraries'.DS.'tcpdf'.DS);
hope it works for u
just check ur config for the K_PATH_MAIN variable it should look something like this:
/**
* installation path (/var/www/tcpdf/)
*/
define("K_PATH_MAIN", JPATH_SITE.DS.'libraries'.DS."tcpdf".DS);
/**
* url path (http://localhost/tcpdf/)
*/
//define ("K_PATH_URL", "http://localhost/_OPENSOURCE/tcpdf/");
define("K_PATH_URL", JURI::base().DS.'libraries'.DS.'tcpdf'.DS);
hope it works for u