I am using 'print' with 'dompdf' and 'courses' with 'certificate' in order to generate PDF certificates. Everything works great and the PDF certificate is generated when visiting the page at /node/[nid]/certificate. However, I have specified that the PDF open in a new page, but it does not.

Any ideas?

Comments

webservant316 created an issue. See original summary.

saurabh.dhariwal’s picture

Please use latest version of dompdf librarry from here.

That worked for me, hope this works for you as well! Let me know if you are stuck anywhere.

Thanks!

webservant316’s picture

The print module directs to use this version of dompdf https://github.com/dompdf/dompdf.

Is https://sourceforge.net/projects/dompdf the same thing? The sourse code does not compare.

Also I solved the problem with a template function as explained here https://www.drupal.org/node/2759289.

jcnventura’s picture

Status: Active » Closed (works as designed)