Sending A Character Code; Sending A Character Descriptor And Data - Brother HL-1050 Technical Reference Manual

Laser printer
Hide thumbs Also See for HL-1050:
Table of Contents

Advertisement

*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)
<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)
• 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
2 - 3 Descriptor size
4 - 5 Orientation
6 - 7 Left offset
8 - 9 Top offset
10 - 11 Character width
12 - 13 Character height
14 - 15 Delta X
16 - Raster Character Data
(27)(42)(99)#(69)
<1Bh><28h><73h>#<57h>
Continuation
Class
Reserved
CHAPTER 2 "PCL" - 63
2/19/04

Advertisement

Table of Contents
loading

Table of Contents