Homelite HL-1450, HL-P2500, 2060 Sending a character code, Sending a character descriptor and data

Models: HL-1250 HL-1270N HL-1470N 2400C HL-1050 HL-P2500 2060 HL-1660E HL-1070 HL-1450 HL-2400CE

1 431
Download 431 pages 8 Kb
Page 80
Image 80

10/10/03

*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

 

CHAPTER 2 "PCL" - 62

Page 80
Image 80
Homelite HL-1450, HL-P2500, HL-1660E, HL-2400CE, HL-1050 Sending a character code, Sending a character descriptor and data