CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Multiple Record Print PDF Letter Broke
Pages: 1 [2]

Author Topic: Multiple Record Print PDF Letter Broke  (Read 3162 times)

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Multiple Record Print PDF Letter Broke
May 21, 2013, 07:19:58 am

most of the time this is due to dompdf (our html->pdf library) running out of memory

a good solution is to use wkhtmltopdf instead. we've not yet migrated the demo servers to do so

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

jern

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 0
    • SEN Magazine
  • CiviCRM version: 4.5.8
  • CMS version: Joomla 2.5.28
  • MySQL version: 5.5.40
  • PHP version: 5.4.33
Re: Multiple Record Print PDF Letter Broke
May 26, 2013, 03:58:50 am
Thanks Lobo. I increased the php memory from 512MB to 2GB but this didn't seem to help. Then I switched the HTML editor from CKeditor to the Joomla default editor (TinyMCE), and this did the trick. I don't think that the problem was with the PDF generation, because it didn't get as far as that - we couldn't even pull in the template info.

Incidentally, changing to TinyMCE also solved another issue - empty address lines had been displaying/printing as blank lines. With the new editor, the PDF generates cleanly, with blank lines omitted.

So, happy :)

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Multiple Record Print PDF Letter Broke

This forum was archived on 2017-11-26.