5.4.4. Sending a character code; 5.4.5. Sending a character descriptor and data; Sending a character code - Page 95

Brother HL-6050D Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

 

CHAPTER 2 PCL - 75 

*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 

 

Detailed Information for Brother HL-6050D Command Reference Guide for Software Developers

Lists of information found in Brother HL-6050D Command Reference Guide for Software Developers - Page 95

  • 5.4.
  • 4. Sending a character code Esc*c#E (character code) (27)(42)(99)#(69) &lt;1Bh&gt;&lt;2Ah&gt;&lt;63h&gt;#&lt;45h&gt; ï‚Ÿ This command sends a character code for the bitmap font ( MSL number for unbound fonts ) to the printer.
  • 35. The specified character is defined by the data which follows the character code.
  • 5.4.
  • 5. Sending a character descriptor and data Esc(s#W (character descriptor and character data) (27)(40)(115)#(87) &lt;1Bh&gt;&lt;28h&gt;&lt;73h&gt;#&lt;57h&gt; ï‚Ÿ This command sends a character descriptor block and raster data describing the shape of the character to the printer.
  • 67. 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.

Related Documents for Brother HL-6050D Command Reference Guide for Software Developers