User login

How to setup save to PDF Functionality in Drupal 6

Searched words: 
PDF, setup, save to PDF, PDF printer

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

Resolution

Comments

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

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

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Internal paths in single or double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or path. Paths to files in single or double quotes, written as "files:somefile.ext", for example, are replaced with the appropriate URL that can be used to download the file.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.