Page 1 of 1

PDF-XCHANGE 6 machine wide regkey for CustomForms

Posted: Thu Sep 01, 2016 3:18 am
by ali.talebi
I have been able to create CustomForms using below regkey for current user:

Code: Select all

HKEY_CURRENT_USER\Software\Tracker Software\PDF-XChange 6 AcroPlot\<QUEUE NAME>\CustomForms
But cant figure out the location for machine wide settings. I tried a few locations but none have worked:

Code: Select all

HKEY_LOCAL_MACHINE\Software\Tracker Software\PDF-XChange 6 AcroPlot\<QUEUE NAME>\CustomForms
HKEY_LOCAL_MACHINE\Software\Tracker Software\PDF-XChange 6 AcroPlot\Drivers\CustomForms
HKEY_LOCAL_MACHINE\Software\Tracker Software\PDF-XChange 6 AcroPlot\CustomForms
Can anyone please guide?

Re: PDF-XCHANGE 6 machine wide regkey for CustomForms

Posted: Thu Sep 01, 2016 7:53 pm
by Paul - Tracker Supp
Hi Ali,

thanks for the post and question.

It is possible to put your custom forms in HKLM - I was just testing the right keys to post for you when we noticed something that we want to look into first.

Can you give us a couple of hours and we'll get back to you.

regards

Paul

Re: PDF-XCHANGE 6 machine wide regkey for CustomForms

Posted: Tue Sep 06, 2016 12:52 am
by ali.talebi
Thanks Paul. any update on this?

Re: PDF-XCHANGE 6 machine wide regkey for CustomForms

Posted: Wed Sep 07, 2016 11:04 pm
by Paul - Tracker Supp
Hi Ali,

sorry about the delay - my guys have been so terribly busy and this was not trivial. This is what I have for you:

Base location for global custom forms

Code: Select all

HKEY_LOCAL_MACHINE\SOFTWARE\Tracker Software\PDF-XChange 6\Global\CustomForms
Each custom form is located under a 'numeric' subkey.
Numbers should be sequencial starting from 1 and use four digits: 0001, 0002, ...
Each such subkey should have the following structure:

@ - "ParamItem"
ID : DWORD - unique ID of the paper. Global IDs should be in range [456-555]
Name : String - name of the paper
Unit : DWORD - optional - specifies units in which width and height of the paper are specified.
0 - means thousandths of an inch
1 (default) - tenth of millimeters
Width : DWORD - width of the paper in "Unit"
Height : DWORD - height of the paper in "Unit"


Here is sample .reg file that defines two papers: Test_MM and Test_IN:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Tracker Software\PDF-XChange 6\Global\CustomForms\0001]
@="ParamItem"
"ID"=dword:000001c8
"Name"="Test_IN(10inx20in)"
"Width"=dword:00002710
"Height"=dword:00004e20
"Unit"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Tracker Software\PDF-XChange 6\Global\CustomForms\0002]
@="ParamItem"
"ID"=dword:000001c9
"Name"="Test_MM(100mmx200mm)"
"Width"=dword:000003e8
"Height"=dword:000007d0
"Unit"=dword:00000001
Do understand that forms placed in HKLM like this will not be modifiable by users. I believe this is exactly what you are looking for.

hth