Answers.Body: <p>As Pete says, not really a Civi question ... but since it is here:</p>
  
  <p>I think there is a typo in the installation instructions at <a href="https://www.drupal.org/project/views_data_export_pdf" rel="nofollow noreferrer">https://www.drupal.org/project/views_data_export_pdf</a></p>
  
  <p>The first step reads:</p>
  
  <blockquote>
    <p>Place WkHtmlToPdf library under ...</p>
  </blockquote>
  
  <p>but should be:</p>
  
  <blockquote>
    <p>Place phpwkhtmltopdf library under ...</p>
  </blockquote>
  
  <p>phpwkhtmltopdf provides the php files you listed, not WkHtmlToPdf</p>
  
  <p>Note also that 'scr' in the file list should be 'src'</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-09T20:16:40.443Z
Answers.LastActivityDate: 2018-05-09T20:16:40.443Z
Answers.UserDisplayName: Aidan
Body: <p>Drupal 7.59 / Civi 4.7.27</p>
  <p>I use Views extensively, and would like to add <a href="https://www.drupal.org/project/views_data_export_pdf" rel="nofollow noreferrer">https://www.drupal.org/project/views_data_export_pdf</a> module.</p>
  <p>As per the Module documentation, a prerequisite is the installation of wkhtmltopdf Library (<a href="https://wkhtmltopdf.org/" rel="nofollow noreferrer">https://wkhtmltopdf.org/</a>), which should result in the following structure :</p>
  <ul>
  <li><p>sites/all/libraries/phpwkhtmltopdf</p>
  </li>
  <li><p>sites/all/libraries/phpwkhtmltopdf/scr</p>
  </li>
  <li><p>sites/all/libraries/phpwkhtmltopdf/scr/Pdf.php</p>
  </li>
  </ul>
  <p>But I don't find those files in the wkhtmltox-0.12.4_linux-generic-amd64.tar.xz dowload, especially no Pdf.php</p>
  <p>I am not a programmer, and thus not familiar with Libraries installation : any help would be welcome</p>
  <p>WARNING: wkhtmltopdf is no longer under active development and its latest tagged release of 0.12.6 from June 2020 (<a href="https://github.com/wkhtmltopdf/wkhtmltopdf/tree/0.12.6" rel="nofollow noreferrer">https://github.com/wkhtmltopdf/wkhtmltopdf/tree/0.12.6</a>) is insecure and should not be used (<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35583" rel="nofollow noreferrer">https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35583</a>).</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-29T19:24:56.093Z
Comments.Text: Hi Jacques - since this is not a civicrm question i would suggest you ask it in https://drupal.stackexchange.com/
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-30T09:05:33.527Z
Comments.Text: Hi Pete, yes of course, but it was just in case someone here would know
Comments.UserDisplayName: Jacques-Marie Moranne
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-30T11:17:48.420Z
Comments.Text: fyi we often just use the Print module for PDF buttons on Views displays
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-30T14:09:02.680Z
Comments.Text: Thank you Pete : I just installed https://www.drupal.org/project/printfriendly : but I can't have the button on a View Page (I have it only on Pages (without Views) and Webforms) : what did I miss ?
Comments.UserDisplayName: Jacques-Marie Moranne
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-30T19:38:59.580Z
Comments.Text: i meant drupal.org/project/print - it works for Views
Comments.UserDisplayName: petednz - fuzion
Tags: <drupal-views>
Title: How to install wkhtmltopdf Libraries?
ThreadText: # How to install wkhtmltopdf Libraries?
  
  (Asked by: username_0 on 2018-04-29)
  
  Drupal 7.59 / Civi 4.7.27
  
  I use Views extensively, and would like to add <https://www.drupal.org/project/views_data_export_pdf> module.
  
  As per the Module documentation, a prerequisite is the installation of wkhtmltopdf Library (<https://wkhtmltopdf.org/>), which should result in the following structure :
  
  * sites/all/libraries/phpwkhtmltopdf
  * sites/all/libraries/phpwkhtmltopdf/scr
  * sites/all/libraries/phpwkhtmltopdf/scr/Pdf.php
  
  But I don't find those files in the wkhtmltox-0.12.4\_linux-generic-amd64.tar.xz dowload, especially no Pdf.php
  
  I am not a programmer, and thus not familiar with Libraries installation : any help would be welcome
  
  WARNING: wkhtmltopdf is no longer under active development and its latest tagged release of 0.12.6 from June 2020 (<https://github.com/wkhtmltopdf/wkhtmltopdf/tree/0.12.6>) is insecure and should not be used (<https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35583>).
  
  **Tags:** drupal-views
  
  > **Comments:**
  > **username_1**: Hi Jacques - since this is not a civicrm question i would suggest you ask it in https://drupal.stackexchange.com/  
  > **username_0**: Hi Pete, yes of course, but it was just in case someone here would know  
  > **username_1**: fyi we often just use the Print module for PDF buttons on Views displays  
  > **username_0**: Thank you Pete : I just installed https://www.drupal.org/project/printfriendly : but I can't have the button on a View Page (I have it only on Pages (without Views) and Webforms) : what did I miss ?  
  > **username_1**: i meant drupal.org/project/print - it works for Views  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-05-09. Score: 0 | Accepted answer
  
  As Pete says, not really a Civi question ... but since it is here:
  
  I think there is a typo in the installation instructions at <https://www.drupal.org/project/views_data_export_pdf>
  
  The first step reads:
  
  > Place WkHtmlToPdf library under ...
  
  but should be:
  
  > Place phpwkhtmltopdf library under ...
  
  phpwkhtmltopdf provides the php files you listed, not WkHtmlToPdf
  
  Note also that 'scr' in the file list should be 'src'
  
  
  ---
  
  