Previous Thread
Next Thread
Print Thread
Detecting local PDF-Xchange2012 driver? #29306 23 Jul 19 12:59 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content OP
Member
OP Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Good day -

Just askin...

Is there any way that I can detect if this driver is available to the current client? This would help facilitate a message that could say "Please Install..." while at the same time filtering off any PDF/Email options on the output side.

Currently the user gets a message saying that the driver is not installed, which is good - just seeing if i can detect availability before actually sending output.

TIA

Re: Detecting local PDF-Xchange2012 driver? #29307 23 Jul 19 01:44 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
I think your best bet would be to check the registry list of printers, for "PDF-XChange Printer 2012". I'm not sure what the definitive, version-independent registry location for printers is, but on my Win10 system I can see it at:

HKCU\Software\Microsoft\Windows NT\CurrentVersion\Devices

Re: Detecting local PDF-Xchange2012 driver? #29308 23 Jul 19 01:54 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content OP
Member
OP Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
OK - ashell has some registry reading tricks around right?

Re: Detecting local PDF-Xchange2012 driver? #29309 23 Jul 19 02:10 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Yes, there's MX_GETREG which works with ATE. Or for something fancier you could create an SBX that transfers itself to the client and uses MX_REGISTRY .

Re: Detecting local PDF-Xchange2012 driver? #29310 23 Jul 19 02:47 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content OP
Member
OP Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Thanks.


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3