Setting the Character Set for SWIN and SAPLPD

You can specify the Microsoft Windows font that is to be used for SWIN print output. This font is used for all printers that are defined with the SWIN device type in the SAP spool system.

You need to make this specification only if you have special printing requirements:

·        You want to use a double-byte character set. Example: you want to print Japanese Kanji characters.

·        You want to use an OEM character set that you have installed in your Microsoft Windows PC.

The font specification applies to all SWIN output and cannot be dynamically changed. However, the specification applies only to SWIN printers; print requests for printers that are defined with other device types are not affected.

Under Microsoft Windows, specifying a font implicitly selects a character set. For example, specifying a SHIFTJIS_CHARSET selects a font and, by necessity, the double-byte character set that is associated with it.

You can specify that all output from SWIN printers is to be printed on fonts selected from the SHIFTJIS_CHARSET double-byte character set (for Kanji).

Procedure

To set the character set, first install SAPLPD. Then proceed as follows:

...

       1.      Edit the WIN.INI file in the windows, winnt or win95 directory.

       2.      Search for section SAPLPD. Add the section if it is not already present.

       3.      Add or edit the WinCharSet option. The following values are permitted:

0

ANSI_CHARSET (the default value)

1

No character set specification. The character set defaults to that associated
with Courier or with a substitution font that you specify in Font substitution

2

SYMBOL_CHARSET

77

MAC_CHARSET

128

SHIFTJIS_CHARSET (double-byte character set for printing Japanese
 Kanji and Kana characters)

129

HANGEUL_CHARSET (double-byte character set for printing Korean
Hangul characters)

130

JOHAB_CHARSET

134

GB2312_CHARSET (double-byte character set for printing Chinese
short characters)

136

CHINESEBIG5_CHARSET (double-byte character set for printing
Chinese long characters)

161

GREEK_CHARSET

162

TURKISH_CHARSET

177

HEBREW_CHARSET

178

ARABIC_CHARSET

186

BALTIC_CHARSET

204

RUSSIAN_CHARSET

222

THAI_CHARSET

255

OEM_CHARSET (an OEM character set that you have installed in your
Windows PC)

ANSI_CHARSET, SYMBOL_CHARSET, and the other capitalized names in this list are the names of Windows programming constants. These are documented in Microsoft documentation on the CreateFont statement of the Windows application interface. SAPLPD triggers Windows font selections by using these values in WinCharSet.

  SAP Printing Guide Start Page