By default, the communication port range for the Foxit PDF Creator printer of Foxit PDF Editor is from 50000 to 60000.If the default port range are occupied by other applications or you have network security software, firewalls, redirection software, and other software that block socket communication. You would then may encounter one of the following problems:
- Foxit creator add-in for office cause office application (such as MS outlook, MS word, etc) to start slowly. (Applicable to versions 12.1 and below)
- “Convert to PDF in Foxit PDF Editor” and “Combine files in Foxit PDF Editor” options not appear from Foxit Context menu when right-click on some selected documents in windows explorer.
To ensure that Foxit Creator related functions could run smoothly and get around the above-mentioned issues, we allow customers to re-configure the Foxit creator port range through enterprise deployment methods since Foxit PDF Editor V11.
To specify the range of ports used for socket communication, the IT Admin can configure the port range easily for all the end users by using one of the following optional methods:
Set in Foxit PDF Editor registry key.
Use MST file with MSI Installer.
Set in Foxit PDF Editor registry key:
1. Open the Registry Editor and navigate to the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\
please manually create “Foxit” folder under “Policies”, create “PDFEditor
“ folder under “Foxit” folder, then create “Preferences" folder under “PDFEditor” to get the following registry :
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Foxit\PDFEditor\Preferences
2. Right-click Preferences, and choose New > String Value to create two new "String Value" there.
3. Name the two newly created strings into “CreatorPortRangeMin" “CreatorPortRangeMax” individually, and set the value data for “CreatorPortRangeMin" and “CreatorPortRangeMax” from 1024 to 65535. For example,you could set the “CreatorPortRangeMin" value into 10010,set “CreatorPortRangeMax” value into 10050.
Note:
1):When there is no data in the DWORD value or no DWORD value, the default value takes effect. (Default value: 50000-60000).
2):The value of the port range setting should be between 1024 and 65535(default value: 50000-60000).
3):A single client environment should be configured with no less than 10 port numbers, so the “CreatorPortRangeMax” and “CreatorPortRangeMin" value difference should be no less than 10. For server environments, the range should be increased by corresponding multiples based on the number of clients in an environment.
Use GPO:
1.Open Group Policy Editor, go to Computer Configuration or Users Configuration > Administrative Templates > Classic Administrative Templates.
2.Choose Foxit PDF Editor, select Preferences, double click on Configure communication port range for Foxit Creator option.
3. Select Enabled, set value for the min value and max value under Port Range,choose OK to apply the change. The valid port range is from 1024 to 65535. For example,you could set the “Min" value into 10010,set “Max” value into 10050.
If you still don’t have Foxit PDF Editor GPO template imported in your Group Policy Editor,please download and install it from this article.
Note:
1): When you don’t configure the Min and Max value under Port Range, the default value takes effect. (Default value: 50000-60000).
2):The value of the port range setting should be between 1024 and 65535(default value: 50000-60000).
3):A single client environment should be configured with no less than 10 port numbers, so the “Max” and “Min" value difference should be no less than 10. For server environments, the range should be increased by corresponding multiples based on the number of clients in an environment.
Use XML:
If you typically use an XML file to force settings on users, you can create and distribute an XML file to a dedicated folder on Users’ machine to set port range for Foxit PDF Creator for your users. Below are steps:
1.Follow here to download an appropriate Foxit Customization open Foxit Customization wizard application, select XML Editor Foxit PDF Editor click on OK button to enter into XML editing mode.
2.Go to Preferences tab>”Configure communication port range for Foxit Creator ”>please input data value for port range there, click on Save button on the left top corner to create an XML file. The default name would be “ProfStore.xml”. The valid port range is from 1024 to 65535. For example,you could set the port range to "10010-10050".
3.Distribute the XML file into “ProfStore “ this folder which is under the main installation folder of your Foxit PDF Editor. By default ,the location is:
“C:\Program Files (x86)\Foxit Software\Foxit PDF Editor\ProfStore”.
4.Restart Foxit PDF Editor to apply the settings in XML file into Foxit PDF Editor application.
Note:
1): When you don’t configure Port Range, the default value takes effect. (Default value: 50000-60000).
2):The value of the port range should be between 1024 and 65535(default value: 50000-60000).
3):A single client environment should be configured with no less than 10 port numbers, so the difference of the two values you input in the Port Range should be no less than 10. For server environments, the range should be increased by corresponding multiples based on the number of clients in an environment.
Use MST file with MSI Installer:
If you want to configure port range for Foxit PDF Creator when deploying MSI installer file, you can use the MST file to implement it.
1.Follow here to download an appropriate version of Foxit Customization Tool (FCT).
2.Run FCT, Choose “MSI” >”OK”,click on “Open a Package/File” button to open the appropriate MSI installer file.
3.Please click on ”Preferences” in the opened FCT tool ,click Configure communication port range for Foxit Creator ”>please input data value for port range there.The valid port range is from 1024 to 65535. For example,you could set the port range into "10010-10050".
4.Everything is done, click on “Save” button on top left corner to save current settings as .mst file.
5.Use the following command to apply MST file
msiexec /i Setup.msi TRANSFORMS=xxx.mst
Note:
1): When you don’t configure Port Range, the default value takes effect. (Default value: 50000-60000).
2):The value of the port range should be between 1024 and 65535(default value: 50000-60000).
3):A single client environment should be configured with no less than 10 port numbers, so the difference of the two values you input in the Port Range should be no less than 10. For server environments, the range should be increased by corresponding multiples based on the number of clients in an environment.
4)Starting from Version 12.1, "Foxit creator add-in for Microsoft office", "Foxit Creator add-in for web browsers", and "Combine files in Foxit PDF Editor"&"Convert to PDF in Foxit PDF Editor" right context menu all don't need to use the communication port range mentioned in this article anymore. The mentioned communication port range will only be called when you print non-PDF format files into PDF files with Foxit PDF Editor Creator.