How to find if dopdf is installed via javascript
How to find if dopdf is installed via javascript
Hi ,
i am basically trying to find if dopdf is installed in the system if its not then i am prompting the user to doenload the dopdf.
Is there a way i can detect if dopdf is installed in the system via javascript.Its possible to do it for flash player using activex object.is something similar can be done for dopdf too?
Any suggestion will be really helpful
Regards,
Srikanth
i am basically trying to find if dopdf is installed in the system if its not then i am prompting the user to doenload the dopdf.
Is there a way i can detect if dopdf is installed in the system via javascript.Its possible to do it for flash player using activex object.is something similar can be done for dopdf too?
Any suggestion will be really helpful
Regards,
Srikanth
-
- Posts: 3
- Joined: Fri Nov 08, 2013 7:53 pm
Re: How to find if dopdf is installed via javascript
Look for this registry key?
Code: Select all
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\doPDF 7 printer_is1]
Re: How to find if dopdf is installed via javascript
Can the printers be accessed via javascript?
Re: How to find if dopdf is installed via javascript
Hi ,
I tried it but i got following error,
Unable to open registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\doPDF 7 printer_is1" for reading.
below is the code,
var shell = new ActiveXObject("WScript.Shell");
var regValue = shell.RegRead("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\doPDF 7 printer_is1");
I tried it but i got following error,
Unable to open registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\doPDF 7 printer_is1" for reading.
below is the code,
var shell = new ActiveXObject("WScript.Shell");
var regValue = shell.RegRead("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\doPDF 7 printer_is1");
-
- Posts: 1565
- Joined: Thu May 23, 2013 7:19 am
Re: How to find if dopdf is installed via javascript
You cannot access printer properties from Javascript, thus it's very difficult to develop something that is accurate and works. The easiest approach is to write directly on the page a notice for users to install doPDF if they don't have it already.