Font Selection Commands ; 5.2.1. User-defined symbol sets ; 5.2.2. Symbol set ID code command - Page 61

Brother 1660e User Manual

2014 Dodge Charger SRT Owner Manual
background image

2001/10/02 

CHAPTER 2 "PCL" - 41 

5.2. 

Font Selection Commands 

5.2.1.  User-defined symbol sets 

User-defined symbol sets  can be used with Unbound scalable fonts.  Three new commands below are prepared 
for use to control a user-defined symbol set. 

To define a symbol set,  its ID code must first be defined.   

Next, a list of symbols for the symbol set must be downloaded. 

Then,  you can use the defined ID code for the symbol set selection. 

 

5.2.2.  Symbol set ID code command 

Esc*c#R 

(27)(42)(99)#(82) 

<1Bh><2Ah><63h>#<52h> 

• 

Value for # can be from 0 to 2047. 

• 

This command defines the ID code for a user-defined symbol set which can be used to control symbol set 

selection. 

• 

The symbol set ID code defined by this command must be calculated by using the following formula. 

  

Symbol Set ID Code = ( # x 32 ) + ( ID - 64 )   

  

Symbol set selection values consists of numerical character(s) and an alphabetical character. 

  

For example,  8U is the symbol set selection value for Roman-8.  In this case,  the Symbol set ID code 

is 277 as the result of the following calculation. 
  

(8 x 32 ) + (85 - 64) = 277 

• 

Make sure to select an unused number for a new ID code that you define. If the ID code has been used 

already,  the printer deletes the existing symbol set and defines the new symbol set. 

 

5.2.3.  Define symbol set 

Esc(f#W[data]  (27)(49)(102)#(87) 

<1Bh><28h><66h>#<57h> 

• 

# value can be from 18 to 32767. 

• 

# stands for number of bytes of data that follow this command. 

• 

If an existing ID code is used for a user-defined symbol set,  it is overwritten. 

• 

Up to 2047 downloadable user-defined symbol sets can be stored subject to the printer's memory capacit y. 

• 

If a memory full error occurs while downloading the user-defined symbol set,  the symbol set which is being 

downloaded becomes invalid. 

• 

The symbol set which is defined by this command is temporarily stored in the printer memory. 

• 

The data following this command should be in the following format. 

   

 

15                                           8 
MSB  

7                                             0 
                                          LSB 

0 - 1 

Header Size (18) 

 

2 - 3 

Encoded symbol set designator 

 

4 - 5 

Format 

Symbol Set Type 

6 - 7 

First Code 

 

8 - 9 

Last Code 

 

10 -     Character Requirements 

 

 

Symbol Map [Last Code - First code + 1 ] 

 

(B) 

 

Boolean  

 

(0,1) 

(UB) 

 

Unsigned Byte 

 

(0 ~ 255) 

(SB) 

 

Signed Byte  

 

( -128 ~ 127 ) 

(UI) 

 

Unsigned Integer  

 

( 0 ~ 65535 ) 

(SI) 

 

Signed Integer 

 

( - 32768 ~ 32767 ) 

(ULI)   

Unsigned Long Integer 

( 0 ~ 2

32

-1) 

(SLI) 

 

Signed Long Integer 

(-2

31

 ~ 2

31

 - 1) 

(ASC**) 

ASCII string array 

(0 ~ **-1) of characters 

Detailed Information for Brother 1660e User Manual

Lists of information found in Brother 1660e User Manual - Page 61

  • 5.2.
  • 5.2.
  • 1. User-defined symbol sets User-defined symbol sets can be used with Unbound scalable fonts.
  • 5.2.
  • 2. Symbol set ID code command Esc*c#R (27)(42)(99)#(82) &lt;1Bh&gt;&lt;2Ah&gt;&lt;63h&gt;#&lt;52h&gt; • Value for # can be from 0 to 2047.
  • 8. In this case, the Symbol set ID code is 277 as the result of the following calculation.
  • 5.2.
  • 3. Define symbol set Esc(f#W[data] (27)(49)(102)#(87) &lt;1Bh&gt;&lt;28h&gt;&lt;66h&gt;#&lt;57h&gt; • # value can be from 18 to 32767.
  • Value for # can be from 0 to 2047.
  • This command defines the ID code for a user-defined symbol set which can be used to control symbol set selection.
  • The symbol set ID code defined by this command must be calculated by using the following formula.
  • Make sure to select an unused number for a new ID code that you define.
  • # value can be from 18 to 32767.
  • # stands for number of bytes of data that follow this command.
  • If an existing ID code is used for a user-defined symbol set, it is overwritten.
  • Up to 2047 downloadable user-defined symbol sets can be stored subject to the printer's memory capacit y.
  • If a memory full error occurs while downloading the user-defined symbol set, the symbol set which is being downloaded becomes invalid.
  • The symbol set which is defined by this command is temporarily stored in the printer memory.
  • The data following this command should be in the following format.

Related Documents for Brother 1660e User Manual