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