we are creating a pdf file from the html file using the package princexml pdf converter. For the Creation of the html file the data has given by the server. In the browser using jquery the input string(html code) is created for the pdf creation. After receiving the input string from the browser, the server creates a html file which is the input to the princexml pdf converter for the pdf creation.
Example for the input string
var sample = "<html>text</html>";//browser side
sample.html converted to sample.pdf //server side
Is it possible to do the same thing at server side without help of the browser ?