2.2. Font Selection

The font selection process is simple for a bitmapped font, since the size is fixed. It is not the case for scalable font. Selecting font by its font ID does not work very well for scalable font. Instead, we recommend to use a combination of symbol set, point size and typeface family value to select the font.

For example, the following statements select scalable font MRV Code39XSA 16 points:

<esc>(0Y<esc>(s16v33221T

or

<esc>(0Y<esc>(s16v<esc>(s33221T

There are three parts in this statement. The first part, <esc>(0Y selects code 3 of 9 symbol set. The middle part <esc>(s16v sets font size to 16 points. Finally, the last part <esc>(s33221T select the font with typeface family value 33221 (which corresponds to MRV Code39XSA. Typeface family value is the weakest requirement, however, if multiple code 39 fonts are installed in the printer, it is the only criteria to select the right font.

For a lsit of typeface family values of code 39 fonts, refer to Appendix A, Supplemental Information.

If MRV Code39XSA is not present in the printer, another code 39 font will be selected. If no code39 fonts are present, the default font is used. Therefore font selection can be used to verify if the font has been properly downloaded to the printer.