Answers.Body: <p>If you using CiviMail for sending newsletter than you can view the html snippet that was sent as a email body. To view the html you can go navigate to Mailings >> Scheduled and Send Mailing.</p>
  
  <p>Find the mailing/newsletter name you want to convert into PDF and then click on <strong>report</strong> link besides the name. You will be redirected to CiviMail Report: [Name of Mailing] page. </p>
  
  <p>Under <strong>Content / Components</strong> section you will see <strong>View Complete Message</strong> link. Open the link in new tab to see the content that was sent.</p>
  
  <p>You can print this page using any one of the following method:</p>
  
  <ol>
  <li>Use browser print option to Print as PDF</li>
  <li>Use <a href="https://wkhtmltopdf.org/" rel="nofollow noreferrer">wkhtmltopdf</a> to print the page using the url
  <code>
  // example for drupal 7.
  // <a href="http://yoursite.com/civicrm/mailing/view?reset=1&amp;id=1" rel="nofollow noreferrer">http://yoursite.com/civicrm/mailing/view?reset=1&amp;id=1</a>
  $ wkhtmltopdf content-url newsletter.pdf
  </code></li>
  <li>Use online tool to print pdf using url.</li>
  <li>Use php to convert content of page into pdf.</li>
  </ol>
  
  <p><strong>Note:</strong> For #2 and #3 you will need to set <strong>CiviMail: view public CiviMail content</strong> permission for Anonymous user. </p>
  
  <p>HTH</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-29T12:54:11.353Z
Answers.Text: Thanks for the answer, but I didn't answer this question. (I just edited it.)
Answers.UserDisplayName: William Mortada
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-26T10:38:32.010Z
Answers.LastActivityDate: 2018-01-04T07:20:32.960Z
Answers.LastEditDate: 2018-01-04T07:20:32.960Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I have a newsletter that I have sent out to our contacts. I would like to export or save it as a PDF to post on our blog. I tried to copy the the HTML code into the blog, but the tables were not blog friendly. I am looking for 2 options
  1) a way to remove the table formatting of the html code to then copy into a blog post
  2) a way to export the newsletter that will preserve hyperlinks so that the PDF can be embedded in the web page.</p>
  
  <p>Thank you</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-24T09:50:55.830Z
Comments.Text: Could you say which CMS and version you are using, Drupal, Wordpress, Joomla etc and the version of CiviCRM?
Comments.UserDisplayName: peterb
Tags: <export><mailing><pdf><newsletter>
Title: Is it possible to export a newsletter to PDF
ThreadText: # Is it possible to export a newsletter to PDF
  
  (Asked by: username_0 on 2017-12-24)
  
  I have a newsletter that I have sent out to our contacts. I would like to export or save it as a PDF to post on our blog. I tried to copy the the HTML code into the blog, but the tables were not blog friendly. I am looking for 2 options
  1) a way to remove the table formatting of the html code to then copy into a blog post
  2) a way to export the newsletter that will preserve hyperlinks so that the PDF can be embedded in the web page.
  
  Thank you
  
  **Tags:** export, mailing, pdf, newsletter
  
  > **Comments:**
  > **username_1**: Could you say which CMS and version you are using, Drupal, Wordpress, Joomla etc and the version of CiviCRM?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-12-26. Score: 5
  
  If you using CiviMail for sending newsletter than you can view the html snippet that was sent as a email body. To view the html you can go navigate to Mailings >> Scheduled and Send Mailing.
  
  Find the mailing/newsletter name you want to convert into PDF and then click on **report** link besides the name. You will be redirected to CiviMail Report: [Name of Mailing] page.
  
  Under **Content / Components** section you will see **View Complete Message** link. Open the link in new tab to see the content that was sent.
  
  You can print this page using any one of the following method:
  
  1. Use browser print option to Print as PDF
  2. Use [wkhtmltopdf](https://wkhtmltopdf.org/) to print the page using the url
     `// example for drupal 7.
     // http://yoursite.com/civicrm/mailing/view?reset=1&id=1
     $ wkhtmltopdf content-url newsletter.pdf`
  3. Use online tool to print pdf using url.
  4. Use php to convert content of page into pdf.
  
  **Note:** For #2 and #3 you will need to set **CiviMail: view public CiviMail content** permission for Anonymous user.
  
  HTH
  
  Pradeep
  
  > **Comments:**
  > **username_3**: Thanks for the answer, but I didn't answer this question. (I just edited it.)  
  
  ---
  
  