Agaric Design Collective

How to setup save to PDF Functionality in Drupal 6

Average: 4.7 (3 votes)
By Dan Hakimzadeh
on 15 Mar
2 comments

Key words and phrases

PDF, setup, save to PDF, PDF printer

Tags

Description

Here's a quick and easy way to make your clients cry tears of joy... Give them one click 'save to PDF' on any Drupal node

All you need is the print module, which you can find here --> http://drupal.org/project/print

then you just have to download and extract the following into your print module directory, ( /sites/all/modules/print/dompdf to be exact ) --> http://sourceforge.net/projects/dompdf/

then delete the dompdf.php file from what you just unzipped

then go to the module settings page and configure,

then go to your server and make the /lib directory under the dompdf module accessible to www-data (you know, chown www-data lib/ ....)

then go and get a cookie, you deserve it

 

Problem with print, e-mail and pdf Drupal

hi, I would to thank your for the tutorial about this module,
I apply all the step in your tutorial but I cant see the links or the icons of printer/pdf in my content, please if you have any solution for this problem

thnx

Posted by Visitor (not verified) on Fri, 2009-03-20 10:44
Alternatively, with tcpdf

Download and extract directly into print/lib

It had dejavusans as the default but seemed to suggest helvetica.
Also changed the Font size base to 12 (from 10).

[title] - [site-name] - [mod-yyyy]-[mod-mm]-[mod-dd]

Icon only

Posted by Benjamin Melançon on Thu, 2009-06-11 10:29
Post new comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <small> <pre> <strike> <sub> <sup> <kbd> <s>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.