Citizen Systems Model CMP-10 manual ESC ? n, Hex Track

Page 24

ESC ? n

[Function]

Reading magnetic stripe reader

[Code]

<1B>H<3F>H<n>

[Range]

{0 =< n =< 7(Hex)}

[Outline]

When the command is received the bicolor LED is shining in RED and the printer is

 

waiting for the magnetic card to be swiped through the reader. If even after 10

 

seconds the card is not swiped the command is aborted automatically.

 

Printer returns the information read from the tracks followed by 00(Hex).

 

Reads the data of the track in the following table by the value of n.

 

 

 

 

n (Hex)

Track

 

0

Invalid

 

1

Track 1

 

2

Track 2

 

3

Track 1 and 2

 

4

Track 3

 

5

Invalid

 

 

 

 

6

Track 2 and 3

 

7

Invalid

The format of the data read is as follows.

Track

Header

Card data

Footer

Track

Track 1 is F1 (Hex)

 

Track 2 is F2 (Hex)

 

Track 3 is F3 (Hex)

Header

Track 1: Ò%Ó

 

Track 2: Ò;Ó

 

Track 3: Ò+Ó or Ò;Ó

Card data

ASCII data

Footer

Ò?Ó

If reading track is more than one (n=3 or 6), footer data of track 1 or 2 is followed by track data of track 2 or 3.

[Caution]

The command for reading multiple tracks at a time may often result in read error.

 

If reading is unsuccessful, repeat it.

Ñ 22 Ñ

Image 24
Contents Command Reference Revision CMP-10 Command SET Code Command FunctionGS H GS LGS W Command Details Xxxx ALLBEL Sample Program Print Results0AH ESC RS Default Sample Program ESC SP nDefault See Also ESC ! nBit Function Value END ESC $ n1 n2 ESC % n Initialize command ESC & m n1 n2 d kHex Mode Vertical Direction Horizontal Direction Dots ESC * m n1 n2 d kMax. Dots IMG1 Page ESC + ESC nHex 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 J n ESC R nHex Character Set ESC S n ESC THex Speed bps 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 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 Hex Code set a Code set B Code set CType Print Sample Outline of Symbol Max. Column Descriptionof Bar CodesJAN-8 CODE93 CODE128GS w nL nH AT command Function Factory default AT*PAIRINFO=0AT*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 BatteryAC Adaptor EMI StandardUL, C-UL, PSE 10AD-JU