Please enable JavaScript to view this site.

A-Shell Consolidated Reference

CHARSET = <charset name or number>

(Windows only) This optional command works in conjunction with the FONTpq command to determine the font character set that is selected. Choices are as follows:

Value

Meaning

 

Value

Meaning

ANSI (or 0)

ANSI character set (default)

 

161

Greek

OEM (or 255)

OEM character set

 

162

Turkish

Symbols (or 2)

Symbol set

 

177

Hebrew

Default (or 1)

Default for selected font face name

 

178

Arabic

77

Mac

 

186

Baltic

128

Shift JIS (Japanese Kanji)

 

204

Russian

129

Hangeul

 

222

Thai

134

GB2312

 

238

Eastern Europe

136

Chinese Big5

 

 

 

 

Note that merely specifying an exotic character set does not mean you will get it, because a font with those characteristics has to exist. If you specify both a font name (using the FONT parameter) and a charset, the character set will become most important if the requested font face name does not exist. This is why the default setting is ANSI rather than DEFAULT, because ANSI is what is expected.

You must set PASSTHROUGH=OFF for CHARSET to be applicable. Also note that you can change fonts in mid report using the GDI print commands; see Print Directives. Also see FONT and WEIGHTpq, which work together with CHARSET to determine the actual font selected.