Procedure documentation Setting the Character Set for SWIN and SAPlpd Locate the document in its SAP Library structure

You can specify the Windows font set that is to be used for SWIN print output. This specification applies to 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:

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

Under 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.

Example

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 do the following:

  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 simplified Chinese
characters)

136

CHINESEBIG5_CHARSET (double-byte character set for printing traditional
Chinese 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.

 

This graphic is explained in the accompanying text  First Page of SAP Printing Guide

 

 

 

Leaving content frame