Sending a character code, Sending a character descriptor and data – Brother HL-2170W User Manual
Page 90
CHAPTER 2 PCL - 71
*Segment Size (UI) - indicates the size of each item in the data segment.
*Data segment -
AP - Application support segment (reserved)
CC - Character Complement
Function and form are as same as character complement flag in the font descriptor. This is only for
unbound fonts.
CP - Copyright
Value should be ASCII data.
GI - Global Intellifont data (reserved)
GT - Global TrueType Data
This segment consists of a table directory and several tables for the TrueType font scaler.
The table directory consists of a 12-byte header and 16 bytes pen entry.
IF - Intellifont Face Data (Reserved)
PA - PANOSE Descriptor
This data segment is used for font selection and substitution.
PF - PS-compatible font name (Reserved)
XW - X-Windows font name
5.4.4.
Sending a character code
Esc*c#E (character code)
(27)(42)(99)#(69)
<1Bh><2Ah><63h>#<45h>
This command sends a character code for the bitmap font ( MSL number for unbound fonts ) to the printer.
The font data must follow immediately.
# is the character code. # can be from 0 to 65535. The specified character is defined by the data which
follows the character code.
Use this command also to designate a character for deletion from a font, using the command for deleting a
character from a downloaded font.
5.4.5.
Sending a character descriptor and data
Esc(s#W (character descriptor and character data)
(27)(40)(115)#(87)
<1Bh><28h><73h>#<57h>
This command sends a character descriptor block and raster data describing the shape of the character to the
printer.
# is the total number of bytes (descriptor and data) which will follow this command and can be up to 32767.
If you need to send more than 32767 bytes to describe a single character you must split it into blocks of
32767 bytes or less and send each block separately.
The character header for the first block of data describing a character is in the following format.
[Bitmap font ]
Byte Data
0 - 1 Format
Continuation
2 - 3 Descriptor size
Class
4 - 5 Orientation
Reserved
6 - 7 Left offset
8 - 9 Top offset
10 - 11 Character width
12 - 13 Character height
14 - 15 Delta X
16 - Raster Character Data
- HL-1670N HL-6050D HL 5250DN HL-5070N HL-2460 HL-6050DN HL-2150N HL 2700CN HL-2130 HL-S7000DN HL-3040CN HL 1650 HL-6050 HL-5240 HL-5240L HL-1470N HL 3070CW HL 5170DN HL-3450CN HL-3140CW HL 5470DW HL-5140 HL-5440D HL-7050 HL-2240 HL-5040 HL-4070CDW HL-1870N HL-1110 HL-1850 HL 4150CDN HL-8050N HL 5450DN HL 5370DW HL-5050 HL-2140 HL 1270N HL-2600CN HL-6180DW HL-5350DN HL-4050CDN HL-2070N HL-3260N HL-5150D HL-5280DW HL-3170CDW HL-4570CDW HL-3150CDW HL 4040CN HL-4140CN HL 2240D HL 2270DW HL-1250 HL-7050N HL 5340D HL-2250DN HL-1450 HL-L9200CDWT HL-1112 HL-5270DN HL-5450DNT HL-L8250CDN HL 4570CDWT HL-5380DN HL-6180DWT HL-L8350CDW HL-4040CDN HL-L8350CDWT HL-2230 HL-5470DWT HL 2220 HL-1110E HL-1112E