Support

Home Forums Event Espresso Premium invoice PDF's will not print

invoice PDF's will not print

Posted: August 31, 2015 at 9:20 pm


megrant5

August 31, 2015 at 9:20 pm

Hi, I have searched through the forums and troubleshooting.

Invoices after download will not print. In order to give people invoices, I have to print from the browser, scan and email from my own email program.

Customers who download invoices and receipts can not print them either.
Get the message: “insufficient data for image”

Version 4.8.7.
Bluehost
Wordpress Theme Twenty Eleven

Please assist. It is essential to send registrants invoices and receipts that will print for them.

ty


Tony

  • Support Staff

September 1, 2015 at 4:41 am

Hi there,

It seems to be an issue with the JPG you are using for the logo.

I downloaded an invoice from your site and found a similar problem although the PDF would not open at all, on editing and removing the image from the PDF I could then open the PDF.

Can you enable WP_DEBUG within your wp-config.php file so we can see if any errors are being thrown please?


megrant5

September 1, 2015 at 8:56 pm

okay. I have changed this, let me know what you see.
I will remove the logo image. Any hints on what makes a better logo image, I ma happy to rebuild one.


Tony

  • Support Staff

September 2, 2015 at 1:12 am

Hi there,

Please de-activate the Event Espresso requirements plugin, you do not need that plugin enabled as it is just to check is the server meets the mimimum requirements needed for Event Espresso.

You can disabled WP_DEBUG as it doesn’t provide any useful information in this case.

Have you edited the Invoice and Receipts templates at all?

How has the image for the venue been included?


megrant5

September 3, 2015 at 7:21 pm

I deactivated the plugin for requirements check.
I disabled the WP-BEBUG
I removed the logo from the invoices
I did try to use the Template Styles, and in my troubleshooting process reset them all back to “Simple”

I have in settings PDF, Html and Email all turned to on. COuld that be a conflict?

I included the image for the venue in the Edit Venue > add media area. I am deleting the venue image now.

It still isn’t working, and even thought I deleted the logo, it still appears on the documents.


megrant5

September 3, 2015 at 7:22 pm

Also, when I trey to print what does open after downloading, even though I ‘see’ an invoice ‘like’ document, it still wont print, it says, no pages have been selected to print.


Tony

  • Support Staff

September 4, 2015 at 6:36 am

I have in settings PDF, Html and Email all turned to on. COuld that be a conflict?

No that’s fine.

It still isn’t working, and even thought I deleted the logo, it still appears on the documents.

Where did you delete it from? Within your invoice I can see the logo and a google map.

Is there anything set for the logo within the invoice settings? Event Espresso -> Payment Methods -> Invoice.

When I open up the PDF within the browser, I get errors when loading images. First the logo causes an Internal Error – http://take.ms/j3rDW

Then I can stroll through the Receipt and view it fine, until I get to the next image (which is not a google map) – http://take.ms/La579

So it looks like DOMPDF (the library Event Espresso uses for PDF’s) is having problems with images on your server.

I did a search and found some requirements for DOMPDF to work correctly, can you check with your host that your server has the following extensions enabled:

DOM extension
GD extension
MBString extension

I suspect GD is not enabled on your server. You can go to Event Espresso -> Maintenance -> System Information. Then do a search for ‘gd’ and see if any values are shown anywhere although this may not be a reliable check as it depends on server setup.

Whilst contacting your host I would recommend checking that allow_url_fopen is also enabled, it appears to be as I would normally expect errors when this is disabled but its worth checking.

The support post ‘invoice PDF's will not print’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso