My application is using the developer version of PDF Converter and is running as a server side CGI process using Microsoft IIS as the web server.
If I use the PDFDriverInit method to create the PDF printer on the fly, I can not OPEN the printer from within my application to be able to send data to be converted. I do see the printer being created on the web server but I fail when I try to open it.
My research (Microsoft article Q184291) indicates that CGI tasks run under the "SYSTEM" account under IIS and therefore I think that I am failing because PDFDriverInit is creating the printer under the logged on user account (HKEY_CURRENT_USER) in the Microsoft registry and therefore I can not see it from within my application which is running under the SYSTEM account.
1) How can I use PDFDriverInit to create and be able to access the PDF printer with my web application?
Or
2) If this isn't possible, how can I install the PDF printer onto my web server and be able to OPEN it (after using the DriverInit method) from within my application which appears to be running under the IIS SYSTEM account
Ross.
PDF converter using Microsoft IIS and a server side CGI
-
- Posts: 12
- Joined: Wed Aug 10 2005
Hello,
In order to run the PDFDriverInit() function the logged in user must have administrator privileges on the system. Although I may be wrong, I do not think that the system account has this kind of privileges.
I suspect that your solution is either make the necessary changes to registry to assign a printer to the system account or if possible have you iis run your CGI process under a user account.
Hope this helps?
In order to run the PDFDriverInit() function the logged in user must have administrator privileges on the system. Although I may be wrong, I do not think that the system account has this kind of privileges.
I suspect that your solution is either make the necessary changes to registry to assign a printer to the system account or if possible have you iis run your CGI process under a user account.
Hope this helps?