Modifying client behavior through the Registry

You must edit the registry on the computer if you want to change the behavior of the OnDemand Client in any of the ways described in this section. If there is an error in the registry, the computer might not function properly.

Before you begin

Before you proceed, you should make a backup copy of the registry and you should be familiar with how to restore the registry to the same version you were using when you last successfully started the computer. For instructions, see your Windows information.

About this task

The following registry values are available to modify the behavior of the Windows client. The values must be placed in this registry key: HKEY_CURRENT_USER\Software\IBM\OnDemand32\Client\Preferences

FORCE_DEF_CHARSET
If set to 1, this value forces the use of the default character set when selecting the document list font.

Default value: 0

GREEN_BAR_COLOR
Used to override the color of the green bands of the Green Bar background color. It must be specified as an RGB value. For example, to use gray bars instead of green, specify 192,192,192.

Default value: 128,255,128

LINEDATA_FONT_FACE_
Used to override the initial font used for line data documents. The first time that a line data document is opened after Content Manager OnDemand is initially installed, the client selects a font. If any of these values are specified, Content Manager OnDemand searches for the font face name specified by LINEDATA_FONT_FACE_1, then for LINEDATA_FONT_FACE_2, and finally LINEDATA_FONT_FACE_3 before trying other names.

For example, for LINEDATA_FONT_FACE_1, specify FixedSys

MAXIMIZE_WINDOW
If set to 1, maximizes the client window.

Default value: 0

MULTIFIND
If set to 1, when performing a text find operation in an AFP document, only the first occurrence of the string on a page is highlighted. For an AFP document, you can modify the value of MULTIFIND in the registry key HKEY_CURRENT_USER\Software\IBM\OnDemand32\Client\Misc instead of HKEY_CURRENT_USER\Software\IBM\OnDemand32\Client\Preferences.

Default value: 0

SCS_CODEPAGE
Can be used to override the code page used for SCS-Extended data by the AFP Viewer. If this value is 0, the code page used is language dependent.

Default value: 0

SUPPRESS_FILE_CLEANUP
If set to 1, prevents the deletion of obsolete files in data and resource directories during client initialization.

Default value: 0

SUPPRESS_WIN_POS_SAVE
If set to 1, prevents the saving of window position and size during client termination.

Default value: 0

TRACE
If set to 1, causes a trace file to be produced during AFP Viewer operations. The file is named AFPVIEWER.LOG and is placed in the user's OnDemand client DATA directory. To determine the path of the DATA directory, log on to the OnDemand client, select the File menu, then select Show Temporary File Locations, and then note the path indicated for the DATA directory.

Default value: 0

TTONLY
If set to 1, forces the AFP Viewer to use only True Type fonts.

Default value: 0

UNDEFINED_CP
Used to override the character displayed by the AFP Viewer in place of undefined code points. It must be specified as a hexadecimal character. For example, specify 2E for a period.

Default value: 20