Page 1 of 1

Saving file to server folder

Posted: Wed Oct 09, 2019 6:01 pm
by pdevgw
Hi,
My colleague and I are trying out the reports.php and running into a few problems.
Our goal is to generate and export a PDF using a cronjob/php script from the command line. We are currently attempting to use "https://www.stimulsoft.com/en/samples/p ... the-server" and apply it to the included render.php script. As that script works fine on its own it just creates a pop up if used in a browser. Is there a way to render, export and save that file as a PDF locally on the server using the command line without any additional input to complete the process? Thanks

Re: Saving file to server folder

Posted: Fri Oct 11, 2019 2:15 pm
by Lech Kulikowski
Hello,

In that case, you should use Node.JS.

Thank you.

Re: Saving file to server folder

Posted: Fri Oct 11, 2019 3:27 pm
by pdevgw
Ok, do you have any or have seen any examples of how to integrate Node.JS into your system?

Re: Saving file to server folder

Posted: Sat Oct 12, 2019 5:57 am
by Andrew
Hello,

Please find the node.js samples at https://github.com/stimulsoft/Samples-JS

Thank you.