User login

How to setup save to PDF Functionality in Drupal 6

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

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

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

Hi there Ive set up all the

Hi there

Ive set up all the necessary configurations through Drupal. What do you mean by this:

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

a bit confused. Hope you can help.

chown

http://ss64.com/bash/chown.html


chown -R www-data:www-data /sites/all/modules/print/dompdf/lib

Hello Friend, I got the

Hello Friend,

I got the dompdf module working, but it is very slow. It is taking lot of time just to save a pdf with no images.
if i have image on the page, it is giving me a big "X" mark instead of that image.

Please some one help me what might be the issue.

Thank you .. i m waiting ..

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • 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>
  • Lines and paragraphs break automatically.

More information about formatting options

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