Below is a followup article to pdf module employed in drupal.
What is TCPDF - PDF class for PHP?
TCPDF is a PHP 5 class for generating PDF files on-the-fly without requiring external extensions. TCPDF is an extension and improvement of the FPDF class (www.fpdf.org). Supports UTF-8, Unicode, HTML and XHTML.
With regards to drupal it is a third party apps for php used in pdfview module which enables a pdf view or download as pdf option for nodes or pages. Simply extract the folder where the readme files instructs you to. Warning though, read a few forum on installation issues... reading the readme and install files thoroughly is a must! :D
Download TCPDF here:
for php 4:
http://sourceforge.net/project/showfiles.php?group_id=128076&package_id=140231&release_id=577068
for php5:
http://sourceforge.net/project/showfiles.php?group_id=128076&package_id=140403&release_id=577072
Experiences with Drupal, the opensource portal or content management system (CMS), its installation, troubleshooting issues, maintenance, modules, themes, and other personal experiences.
Amazon products on Content Management Systems and PHP-MySQL
Showing posts with label pdf. Show all posts
Showing posts with label pdf. Show all posts
Wednesday, April 9, 2008
Wednesday, February 20, 2008
View Drupal page (or node) as pdf or download page as pdf module in drupal
Pdfview in Drupal is a module that generates simple PDF version of pages from Drupal nodes/pages. The nodes can contain images. It appears as a breadcrumb beside other items like email this page, printer-friendly version, etc., below each page, story, or node.
The 4.7 version supports UTF8 and relies on TCPDF. Older versions require FPDF from http://www.fpdf.org.
Steps:
1. Download pdfview module from drupal modules (http://drupal.org/project/pdfview), check corresponding version appropriate.
2. Extract (install) in site/modules directory... enable in administer > modules... apply necessary roles and permissions
3. Download another required third party extension, TCPDF (choose corresponding version for php of your webhost, either 4 or 5, currently)... extract this to site/modules/pdfview/ directory... rename to 'tcpdf'.
4. Double check with documentations for errors... useful thread here http://drupal.org/node/130779#comment-738033 ... using this thread post add the ff. to tcpdf/config/tcpdf_config.php:
5. That's it.. test it in your browser, enjoy!
Note: works fine for IE, however current Firefox version doesn't seem to support adobe features/add-ons... Please test with other browsers like Safari, Opera, etc. accordingly, thanks!
------------------------------------------
Drupal Group: http://groups.drupal.org/pdf
The 4.7 version supports UTF8 and relies on TCPDF. Older versions require FPDF from http://www.fpdf.org.
Steps:
1. Download pdfview module from drupal modules (http://drupal.org/project/pdfview), check corresponding version appropriate.
2. Extract (install) in site/modules directory... enable in administer > modules... apply necessary roles and permissions
3. Download another required third party extension, TCPDF (choose corresponding version for php of your webhost, either 4 or 5, currently)... extract this to site/modules/pdfview/ directory... rename to 'tcpdf'.
4. Double check with documentations for errors... useful thread here http://drupal.org/node/130779#comment-738033 ... using this thread post add the ff. to tcpdf/config/tcpdf_config.php:
5. That's it.. test it in your browser, enjoy!
Note: works fine for IE, however current Firefox version doesn't seem to support adobe features/add-ons... Please test with other browsers like Safari, Opera, etc. accordingly, thanks!
------------------------------------------
Drupal Group: http://groups.drupal.org/pdf
Labels:
adobe,
drupal,
drupal modules,
modules,
pdf,
pdfview module,
portable data format
Subscribe to:
Posts (Atom)