HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Reference Guide
36 EN
36
HP-GL/2
Character Group (continued)
Label
Prints text using the currently selected font.
LB text . . . text lblterm [;]
text . . . text = Any characters.
lblterm = Label terminator (default Ext or defined with
DT command).
Label Origin
Specifies the positioning of the characters within a label.
LO [ position] [;]
position = Number indicating label position relative to
current cursor position (see command description
in
PCL5 Technical Reference Manual
).
Label Mode
Determines how LB (Label) and SM (Symbol Mode) interpret characters.
Most often used for printing a 2-byte character set such as Kanji.
LM [mode,[row number]:]
mode = determines the interpretation mode as follows:
0 Interprets each byte as a character (8-bit mode).
1 Interprets the next two bytes as a character (16-bit mode).
2 Same logic as mode 0 except that vertical substitutes are
used if found in a VT segment of the current font.
3 Same logic as mode 1 except that vertical substitutes are
used if found in a VT segment of the current font.
row number = indicates the first byte while the LB or SM
instruction supplys the second byte. Used only in mode 0 when a
16-bit character set is selected.
Select Alternate Font
Selects the font designated by AD.
SA [;]
Scalable or Bitmap Fonts
Specifies the type of fonts to be used for labels.
SB [ n] [;]
n = 0 (Scalable fonts [default])
= 1 (Bitmap and scalable fonts)
Learn.fm Page 36 Tuesday, June 22, 1999 8:17 AM