Citizen Systems Model CMP-10 manual GS k m d1 ..... dk NUL GS k m n d1 ...... dn

Page 58

GS k m [d1 ..... dk] NUL

GS k m n [d1 ...... dn]

[Function]

Printing the bar code

 

 

 

[Code]

(1) <1D>H<6B>H<m> [d1.....dk] NUL

 

 

 

 

(2) <1D>H<6B>H<m><n> [d1....dn]

 

 

 

[Range]

(1) 0 =< m =< 6 The definitions of “k” and “d” vary with the bar code system.

 

(2) 65 =< m =< 73 The definitions of “n” and “d” vary with the bar code system.

[Outline]

Selects a bar code system and prints the bar code.

 

 

 

For (1):

 

 

 

 

 

 

 

 

 

 

 

m

Bar code system

Range of “k”

 

Range of “d”

 

0

UPC-A

k=11

48

=< d =< 57

 

1

UPC-E

k=11

48

=< d =< 57

 

2

JAN13 (EAN)

k=12

48

=< d =< 57

 

3

JAN8 (EAN)

k=7

48

=< d =< 57

 

4

CODE39

1 =< k

48

=< d =< 57,

 

 

 

 

65

=< d =< 90

 

 

 

 

32, 36, 37, 43, 45,

 

 

 

 

46, 47

 

5

ITF

1 =< k (Must be an

48

=< d =< 57

 

 

 

even number)

 

 

 

6

CODABAR (NW-7)

1 =< k

48

=< d =< 57,

 

 

 

 

65

=< d =< 68

 

 

 

 

36, 43, 45, 46, 47, 58

 

For (2):

 

 

 

 

 

 

 

 

 

 

 

m(2)

Bar code system

Range of “n”

 

Range of “d”

 

65

UPC-A

n=11

48

=< d =< 57

 

66

UPC-E

n=11

48

=< d =< 57

 

 

 

 

 

 

 

67

EAN13 (JAN)

n=12

48

=< d =< 57

 

68

EAN8 (JAN)

n=7

48

=< d =< 57

 

69

CODE39

1 =< n

48

=< d =< 57,

 

 

 

 

65

=< d =< 90

 

 

 

 

32, 36, 37, 43, 45,

 

 

 

 

46, 47

 

 

 

 

 

 

 

70

ITF

1 =< n (Must be an

48

=< d =< 57

 

 

 

even number)

 

 

 

 

 

 

 

 

 

71

CODABAR

1 =< n

48

=< d =< 57,

 

 

 

 

65

=< d =< 68

 

 

 

 

36, 43, 45, 46, 47,58

 

72

CODE93

1 =< n

0 =< d =< 127

 

73

CODE128

2 =< n

0 =< d =< 127

— 56 —

Image 58
Contents Command Reference Revision CMP-10 Command SET Code Command FunctionGS L GS HGS W Command Details Xxxx ALLBEL Sample Program Print Results0AH ESC RS Default Sample Program ESC SP nESC ! n Default See AlsoBit Function Value END ESC $ n1 n2 ESC % n Initialize command ESC & m n1 n2 d kESC * m n1 n2 d k Hex Mode Vertical Direction Horizontal Direction DotsMax. Dots IMG1 Page ESC n ESC +Hex Type ESC ESC 3 n ESC = n Bit Equipment Value21 Ñ ESC ? n Hex TrackESC @ ESC D n k NUL See Also Sample Program Print ResultsESC E n ESC G n ESC R n ESC J nHex Character Set Hex Speed bps ESC S nESC T Model CMP-10 VerESC V n Hex ConditionESC Y n ESC Z ByteUpdate via firmware interface Not in use Reserved, always 33 Ñ ESC \ n1 n2 ESC ` ESC a n Hex PositionESC c5 n ESC d n ESC ESC x n B B B Memory Switch OFF GS n mGS * n1 n2 d n1 n2 D1 ...... Dn See Also Sample ProgramGS / m Hex Name Dot Density Vertical Direction Horizontal Direction1DH3AH GS H n Hex Printing PositionGS L nL nH GS W n NL = 40 Hex, nH = 2 Hex Hex Mode GS n1 n2 n3GS a n Bit Status Item Addressed by ABSNot in use Thermal head is overheated Disabled for ASB may also have changed GS f n Hex Font1DH68Hn 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 Hex Code set a Code set B Code set CJAN-8 Type Print Sample Outline of Symbol Max. ColumnDescriptionof Bar Codes CODE93 CODE128GS w nL nH AT*PAIRINFO=0 AT command Function Factory defaultAT*PAIRINFO=1 Bluetooth Init Commands ExampleBlack Mark Function ESC l nDistance from PE sensor and print head is approx .5 mm Character Codes Table Setup menu function After Ver2.20 If YES is not chosen, the changed setting will not be lost Change IrDA MAX Speed ?Memory switches OFF0 ON1 Memory switch 8 =Change Print Density ? Programming Considerations Pin No Signal Direction Function Pin No. of Cable Serial InterfaceExplanation of Input/Output Signals 14, 15 pin Communicate mode settingElectrical Characteristics RS-232C CircuitInfrared Communication Specifications IrComm 3 Wire raw IrLPTMechanical Specification McbfPower Related Specifications BatteryEMI Standard AC AdaptorUL, C-UL, PSE 10AD-JU