Citizen Systems Model CMP-10 manual Hex, Code set a Code set B Code set C

Page 61

When sending print data, note these points:

(1)Each string of bar code data must begin with a code set select character (CODE A, CODE B, or CODE C), which selects the first code set to use.

(2)Every special character is specified by a combination of two characters: a brace Ò{Ò followed by one character. A brace Ò{Ò itself is sent twice consecutively.

SPECIAL CHARACTERS:

Hex.

ASCII

Code set A

Code set B

Code set C

7B53

{ S

SHIFT

SHIFT

ÐN/A

7B41

{ A

ÐN/A

CODE A

CODE A

7B42

{ B

CODE B

ÐN/A

CODE B

7B43

{ C

CODE C

CODE C

ÐN/A

7B31

{ 1

FNC1

FNC1

FNC1

 

 

 

 

 

7B32

{ 2

FNC2

FNC2

ÐN/A

7B33

{ 3

FNC3

FNC3

ÐN/A

7B34

{ 4

FNC4

FNC4

ÐN/A

 

 

 

 

 

7B7B

{ {

Ò{Ó

Ò{Ó

Ò{Ó

<Example>

To print ÒNo.Ó in code set B, followed by Ò123456Ó in code set C, send the following data string:

GS k <73><10><7Bh 42h> ÒNo.Ó <7Bh 43h><12><34><56>

¥If the printer finds a string of bar code data that does not begin with a code set select character, it immediately aborts the command processing and handles the subsequent data as normal data.

¥If the printer received a character that is not available in the currently selected code set, it immediately aborts the command processing and handles the subsequent data as normal data.

¥An HRI character corresponding to either a Shift character or a code select character is not printed. An HRI character for either a function character or a control character is treated as a space character.

[Sample Program]

PRINT #1, CHR$(&H1D) + “H” + CHR$(2);

PRINT #1, CHR$(&H1D) + “k”;

PRINT #1, CHR$(4);

PRINT #1, “123” + CHR$(0);

END

[Print Results]

When the data Ò123Ó is printed with the code 39

Ñ 59 Ñ

Image 61
Contents Command Reference Revision Code Command Function CMP-10 Command SETGS L GS HGS W Xxxx ALL Command DetailsBEL Print Results Sample Program0AH ESC RS ESC SP n Default Sample ProgramESC ! n Default See AlsoBit Function Value END ESC $ n1 n2 ESC % n ESC & m n1 n2 d k Initialize commandESC * m n1 n2 d k Hex Mode Vertical Direction Horizontal Direction DotsMax. Dots IMG1 Page ESC n ESC +Hex 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 R n ESC J nHex Character Set ESC T ESC S nHex Speed bps Model CMP-10 VerHex 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 Bar code system Range of k Range of d GS k m d1 ..... dk NUL GS k m n d1 ...... dnBar code system Range of n Range of d For For Standard ModeDescription of Bar Codes JAN-8EAN Code set a Code set B Code set C HexDescriptionof Bar Codes Type Print Sample Outline of Symbol Max. ColumnJAN-8 CODE93 CODE128GS w nL nH AT*PAIRINFO=0 AT command Function Factory defaultAT*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 SpecificationsEMI Standard AC AdaptorUL, C-UL, PSE 10AD-JU