19UBI EasyCoder 301 Direct Protocol – Programmer's Guide Ed. 1Chapter 4 Label Design3. Text Field A text field consists of one or more alphanumeric characters on thesame line (max 300 characters). UBI Direct Protocol cannot wraptext to a new line, but each line must be specified as a separate textfield.UBI Direct Protocol has been extended to allow characters fromany national character set, such as Chinese, Cyrillic and Hebrew, tobe included in a text field. In this section we will discuss the com-mands required to control the format of text fields containing char-acters from the default character set, Roman 8 (see chapter 11.1).The Direct Protocol commands related to printing characters fromother character sets are discussed in chapters 6.11 and 9.2.In addition to the general formatting commands, PRPOS, ALIGNand DIR (see chapter 4.2), a text field can contain the followingcommands:• Font (typeface)• Font Size (in points)• Font Slant (in degrees)• Magnification• Normal Image/Inverse ImageSelect a FontThe FONT command specifies the file name of the scalable font touse and the height and the italic angle with which the characterswill be printed.FONT | FT "" [,,] the name of a Speedo or TrueType font file,and must be enclosed by double quotationmarks. the height of the characters in points (a pointis a standard typographic unit, equal to 1/72inches/0.352 mm). the italic angle of the characters in degrees;a positive value slants the characters clock-wise away from the vertical.Default: "Swiss 721 BT", size 12p, slant 0°Reset to default by: PRINTFEED|PFBefore using any of the standard fonts OCR-A BT, OCR-B 10 PitchBT or Zapf Dingbats BT, you must select a special character set forthat font by means of a NASC command (see chapters 6.11, 9,2 and11.1). Before switching back to any other font than those mentionedabove, you must specify the original character set again by meansof a new NASC command.