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

Brother technical reference manual laser printer
Table of Contents

Advertisement

2006/05/31
*Segment Size (UI) - indicates the size of each item in the data segment.
*Data segment -
AP - Application support segment (reserved)
CC - Character Complement
CP - Copyright
GI -
GT - Global TrueType Data
IF -
PA - PANOSE Descriptor
PF -
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 ]
10 - 11 Character width
12 - 13 Character height
14 - 15 Delta X
Function and form are as same as character complement flag in the font descriptor. This is only for
unbound fonts.
Value should be ASCII data.
Global Intellifont data (reserved)
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.
Intellifont Face Data (Reserved)
This data segment is used for font selection and substitution.
PS-compatible font name (Reserved)
Byte Data
0 - 1 Format
2 - 3 Descriptor size
4 - 5 Orientation
6 - 7 Left offset
8 - 9 Top offset
16 - Raster Character Data
CHAPTER 2 "PCL" - 66
(27)(42)(99)#(69)
<1Bh><28h><73h>#<57h>
Continuation
Class
Reserved

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents