HP-UX 11i v3 International Printing Features

20
PCL Modified Text Processing (PCL Cooked) Mode Printing
The PCL5.asian model file parses the input file to identify PCL commands that control character
attributes (such as typeface, size, weight, and font) in the printing data so that the appropriate Asian
fonts on the host can be used and downloaded to the printer on demand.
For text printing using the PCL5.asian model file, setting the locale option generates PCL5
command sequences, including the appropriate text-parsing method and symbol set ID commands to
set up printer to print text encoded in the specified locale.
Users can embed symbol set ID and text-parsing method setup commands to set up other
combinations of these commands, such as for printing special PCL data that has been supported by
the raw mode option. By specifying that the text-parsing method and the symbol set ID be embedded
in the printing data, users can generate a multilingual printing in a single printing job. However,
using this method requires a good knowledge of the PCL5 printer language.
In PCL-modified text-processing mode, the specific PCL symbol set used by the Asian font memory is
selected based on the current Asian locale setting. The PCL5.asian model file converts those Asian
characters in the printing user data to the specific encoding of that PCL symbol set. For printing
characters that are not available in the Asian font memory, appropriate glyphs of those characters are
downloaded to the printer from the host using PCL symbol set 8U. Table 7 shows the default PCL
symbol set ID and font numbers selected for each of the supported Asian locales.
Table 7: PCL5.asian PCL Mode Locale to PCL Symbol Set ID Mapping
Locale Option PCL Symbol Set ID Added for
Printing Device Data
PCL Font Numbers Supported for Printing
User Data and Option
zh_CN.gb18030
zh_CN.hp15CN
zh_CN.utf8
18C
(8U)
37058 (simsun), 37110 (simhei),
37357 (simkai), 37366 (simfang)
ja_JP.SJIS
ja_JP.eucJP
ja_JP.utf8
19K
(8U)
28752 (mincho), 28825 (gothic)
ko_KR.eucKR 19H (8U)
ko_KR.utf8 18H (8U)
43088 (batang), 43161 (dotum),
43160 (gulrim), 43768 (gungse)
zh_TW.big5
zh_TW.eucTW
zh_HK.hkbig5
zh_TW.utf8
zh_HK.utf8
18T
(8U)
33269 (ming), 33261 (kai)
C.utf8 (undef or 0U)
(8U)
All of the above
The Asian font numbers listed in Table 7 are originally those of the font DIMM or CF-card for the
corresponding languages. When a font DIMM/CF-card is assumed to be available (that is, is
specified by the dimm option), it is used for printing characters that are included in the font memory.
For printing characters that belong to the same typeface but are not included in the font memory, the
host’s fonts are used by downloading the character while switching the symbol set to 8U.
The Asian fonts support feature of PCL5.asian is activated only in the input data context of PCL
symbol sets 18C, 19K, 19H, 18H, 18T, or 0U. When a PCL command selecting the other PCL symbol
sets is found in the input sequence, PCL5.asian passes the remaining character sequence through
without conversion until one of the supported PCL symbol sets is encountered. Similarly, when the PCL
text-parsing method is set to a value other than 31 (SJIS) or 38 (HP-15), the PCL5.asian model file
passes through the input data without processing until either 31 or 38 is set for the text-parsing
method. The current version of the PCL5.asian model file does not use the other PCL symbol set IDs or
text-parsing methods, such as the UTF-8 symbol set ID and text-parsing method. Rather, the PCL data