PDF Generation Problem

My application generates PDG sucessfully on the local server but after deployed on the webserver it sends the error page and page is pointed to points URL/app_name/_lib/tmp/ folder.

I have actually created and pointed the tmp folder under application using production environment. it recognize when I save it but it doesn’t recognize when I try to generate the pdf.

Please help

Video of the pdf generator application on the local server

I got the solution, in the production environment we should use the base url in PDF IP field.

something like www.mypdfgeneratorsite.com

It works.