I am utilizing PrinceXML v 12.5 on a server by having my database execute a command-line function to instruct Prince to generate a PDF based off of an HTML file input.
Prince does this, and places the file back in the same directory correctly. However, my database appears to be attempting to access the PDF before Prince has completely finished rendering the contents of the file.
Is there any way to configure Prince to execute a sort of 'callback' function once it is finished with generating a PDF? If I could have Prince signal my database to grab the PDF and resume processing, that would fix my issue.
Prince does this, and places the file back in the same directory correctly. However, my database appears to be attempting to access the PDF before Prince has completely finished rendering the contents of the file.
Is there any way to configure Prince to execute a sort of 'callback' function once it is finished with generating a PDF? If I could have Prince signal my database to grab the PDF and resume processing, that would fix my issue.