Forum How do I...?

Convert ASP to PDF with VBScript

mportillo
Hello,

I have been able to successfully convert asp files (html content only) to PDF with embedded svg images. However, I was wondering if there is anyway possible to use Prince to do the same conversion when those asp files contain vbscript.

Any help would be appreciated.
mikeday
Is this VBScript intended to be run on the server or the browser? If it's the server, then point Prince at the URL that will deliver the processed page. If it's the browser, that's going to be difficult. The next version of Prince will support JavaScript, but not VBScript.
mportillo
The VBScript is entirely server based. I was able to get an asp page to convert another asp page to PDF based on the URL but once I tried testing with include files (that are also asp, vbscript based), it failed. Is there a reason the include files would fail to load?
mportillo
Please disregard previous message. It does allow for asp include files. I was making a mistake with something unrelated. Thank you very much for your help!