The WTT 2.0 standard identifies the following terms and conventions for printing Thai text:
Printer IDs
Printer IDs are 6-character codes defined by TAPIC to specify a printer's model, brand name, and character code. Printer vendors should have their printer codes clearly marked on their printers. The syntax for a printer ID is BBMMCC, where BB is a two-letter brand abbreviation, MM is a two-letter model abbreviation, and CC is a two-digit number representing the conversion code the printer uses. The printer brand and model abbreviations are listed in Appendix C, "Printer Brand, Model, and Code IDs," of the Thai Language Supplement for Solaris 2.6: Release Overview. See the next section for a discussion of printer conversion codes.
For example, the first line of Table D–3 shows that the brand and model abbreviations for a Data Products IZR650 printer are DA and ZI. If this printer used the code conversion table number 10, the full printer ID would be: DAZI10.
Conversion codes and printer code conversion tables
Use the codes listed in the right side of Table A-3 when specifying a printer ID. Solaris 7 TLE adheres to TIS 988-2533, which specifies a table of codes for printing to the TAC11x11.COD standard. Because not every printer uses this table, the TIS standard specifies a total of 17 code conversion lookup tables to convert other known printer codes to TAC11x11.COD. (TAC is an abbreviation for the Thai API Consortium. APIs defined by the Thai Internationalization Committee are prefixed with “TAC.”)
These 17 code conversion tables are supplied with Solaris 7 TLE for converting the codes supplied with various printers to the TAC11x11.COD standard. The tables, listed in Table D–3, are stored in the /usr/lib/lp/files directory.
Table D–3 Code Conversion Tables
Code Conversion Table |
Code for Use With Printer ID |
---|---|
TAC11x10.COD |
10 |
TAC11x12.COD |
12 |
TAC11x13.COD |
13 |
TAC11x14.COD |
14 |
TAC11x15.COD |
15 |
TAC11x16.COD |
16 |
TAC11x17.COD |
17 |
TAC11x18.COD |
18 |
TAC11x19.COD |
19 |
TAC11x20.COD |
20 |
TAC11x21.COD |
21 |
TAC11x22.COD |
22 |
TAC11x40.COD |
40 |
TAC11x41.COD |
41 |
TAC11x42.COD |
42 |
TAC11x43.COD |
43 |
TAC11xAA.COD |
AA |
If your printer does not use one of the printer code conversion tables, see the following section for help with creating your own.