The following instructions describe how to install the yajhfc-launch.vbs
wrapper script
to work around user profile path detection problems with RedMon.
The script does not work in Windows 9x; but it should not be necessary to use it there either.
It is assumed that you have already created a fax printer following the HOWTO.
Extract yajhfc-launch.vbs
from the ZIP archive to a folder on your harddrive.
Edit the beginning of yajhfc-launch.vbs
in a text editor (right click the file and select Edit from the context menu).
You may need to edit the following lines:
Const yajhfcargs = ...
: java.exe
to start YajHFC. These should be the same
as you entered in the "Arguments for this program are" field in the redirected port configuration.
Const javaexe = ...
: java.exe
should work fine in most cases.
Please note that you have to surround the values by double quotes ("
) as shown in the image above. To include a double quote in the value itself you have to use two double quotes (""
), for example enter "-jar ""C:\program files\yajhfc.jar"""
to get an command line of -jar "C:\program files\yajhfc.jar"
.
Open the configuration dialog of the Redirected Port.
Modify the following settings:
cscript.exe
[path to yajhfc-launch.vbs]
Please make sure that the "Run as User" checkbox is still checked.
Close the open dialogs with "OK" and test if the fax printer still works.
If it does not, you can use the "Log File" button in the Port configuration to activate a log file
capturing error messages from the script.
Done.
Note: This method is not tested very well; if you encounter problems, please let me know.
Created by: Jonas Wolz
Last modification: Monday, 12-Dec-2016 11:51:50 CET