Citizen Systems Model CMP-10 manual ESC & m n1 n2 d k, Initialize command

Page 15

ESC & m n1 n2 [d] k

[Function]

Define user characters

[Code]

<1B>H<26>H<m><n1><n2>[<d>]k

[Range]

{m = 0, 1, 2, 3(Hex)}

 

{20 =< n1 =< FF(Hex)}

 

{n1 =< n2 =< FF(Hex)}

 

{k=(n2-n1+1)*48} (m=2)

 

{k=(n2-n1+1)*16} (m=3)

[Outline]

Defines a group of user characters.

 

m=0: Copy internal character set A to user character set A

 

(Parameters n1, n2 and d are omitted)

 

m=1: Copy internal character set B to user character set B

 

(Parameters n1, n2 and d are omitted)

 

m=2: For Font A (12 24), n1 denotes Start character code and n2 End character

 

code. Every character is 48 bytes, two bytes for each line. Only the first nibble

 

of the second byte is used.

 

m=3: Define character group with ASCII codes between >= n1 and =< n2 for character

 

set B (9 16). Every character is 16 bytes.

[Caution]

The data for character set A is composed from left to right and from top to bottom

 

with two bytes for each horizontal line. The first byte contains the first 8 bits with

 

the left most bit is MSB. From the second byte only the first nibble (the most significant

 

4 bits) is valid.

 

The data for character set B is composed from left to right and from top to bottom

 

with only one byte for each horizontal line. The nineth bith is alawys 0.

 

Downloaded characters are valid even after switching off the printer or after issuing

 

Initialize command.

24

Download character

 

 

Font A (12 24)

 

Font B (9 16)

(Last 4 bits are not used and fixed as zero.)

(9th dot is fixed as space.)

d1

d2

d1

d3

d4

d2

d5

d6

d3

d7

d8

d4

d9

d10

d5

 

 

16

d14

d15

d16

8 7 6 5 4 3 2 1

d43

 

 

d44

 

 

 

 

d45

 

 

d46

 

 

 

 

d47

 

 

d48

 

 

 

 

 

 

 

 

 

 

0

0

 

MSB

 

 

 

 

0

0

LSB

8

7

6

5

4

3

2

1

 

Ñ 13 Ñ

Image 15
Contents Command Reference Revision Code Command Function CMP-10 Command SETGS H GS LGS W Xxxx ALL Command DetailsBEL Print Results Sample Program0AH ESC RS ESC SP n Default Sample ProgramDefault See Also ESC ! nBit Function Value END ESC $ n1 n2 ESC % n ESC & m n1 n2 d k Initialize commandHex Mode Vertical Direction Horizontal Direction Dots ESC * m n1 n2 d kMax. Dots IMG1 Page ESC + ESC nHex Type ESC ESC 3 n Bit Equipment Value ESC = n21 Ñ Hex Track ESC ? nESC @ See Also Sample Program Print Results ESC D n k NULESC E n ESC G n ESC J n ESC R nHex Character Set Model CMP-10 Ver ESC S nESC T Hex Speed bpsHex Condition ESC V nESC Y n Byte ESC ZUpdate via firmware interface Not in use Reserved, always 33 Ñ ESC \ n1 n2 ESC ` Hex Position ESC a nESC c5 n ESC d n ESC ESC x n B B B GS n m Memory Switch OFFSee Also Sample Program GS * n1 n2 d n1 n2 D1 ...... DnHex Name Dot Density Vertical Direction Horizontal Direction GS / m1DH3AH Hex Printing Position GS H nGS L nL nH GS W n NL = 40 Hex, nH = 2 Hex GS n1 n2 n3 Hex ModeBit Status Item Addressed by ABS GS a nNot in use Thermal head is overheated Disabled for ASB may also have changed Hex Font GS f n1DH68Hn GS k m d1 ..... dk NUL GS k m n d1 ...... dn Bar code system Range of k Range of dBar code system Range of n Range of d For Standard Mode ForDescription of Bar Codes JAN-8EAN Code set a Code set B Code set C HexCODE93 CODE128 Type Print Sample Outline of Symbol Max. ColumnDescriptionof Bar Codes JAN-8GS w nL nH AT command Function Factory default AT*PAIRINFO=0AT*PAIRINFO=1 Example Bluetooth Init CommandsESC l n Black Mark FunctionDistance from PE sensor and print head is approx .5 mm Character Codes Table Setup menu function After Ver2.20 Change IrDA MAX Speed ? If YES is not chosen, the changed setting will not be lostMemory switch 8 = Memory switches OFF0 ON1Change Print Density ? Programming Considerations Serial Interface Pin No Signal Direction Function Pin No. of Cable14, 15 pin Communicate mode setting Explanation of Input/Output SignalsRS-232C Circuit Electrical CharacteristicsIrComm 3 Wire raw IrLPT Infrared Communication SpecificationsMcbf Mechanical SpecificationBattery Power Related SpecificationsAC Adaptor EMI StandardUL, C-UL, PSE 10AD-JU