In the On-premises Private Server, to enable the PDF service on your machine, ensure you have "node and puppeteer" installed.
Current Supported Version: Node(v.14.19.3) and Puppeteer(v.14.4.1).
(Note: Make sure your internet connection is available, as some businesses might have a limited connection due to security.)
Let’s take the Windows operating system as an example:
1. To install node, download the supported Windows version of node from the link below:
URL: https://nodejs.org/download/release/v14.19.3/
2. Double click the installation file to launch the node installation wizard and click Next when prompted.
3. When node service is installed, type the command "node -v" to check to see if it works:
4. To install Puppeteer, switch the path "Your Ragic Home Folder\web\sims\js\pdfMaker" and enter the command “npm i puppeteer@14.4.1” as shown below:
5. Start the PDF Service, switch the path "Your Ragic Home Folder" and type in command "node web/sims/js/pdfMaker/nodeJs.js 8888" as shown below:
6. To verify the service, type in the command "Get-NetTCPConnection -LocalPort 8888" as shown:
7. Update the record of "PDF Server" in the Private Server Config settings:
8. Restart Ragic Service, and you’re all done.
9. Test the function Download as PDF, it should be like this while the service is working properly.
If you encounter any issues during installation, please email us a screenshot and describe your current step to help us identify the problem.