Citizen Systems Model CMP-10 AT command Function Factory default, AT*PAIRINFO=0, AT*PAIRINFO=1

Page 64

GS z ..... ^C (Available only with firmware version 2.12 or later)

[Function]

Saving AT command sequences to send to Bluetooth module

 

[Code]

<1D>h <7A>h [d1É.dn] <03>h

 

 

[Range]

0 =< n =< 60

 

 

 

[Outline]

Printer saves the AT command sequences specified by [d1É.dn] in the NV memory.

 

At the first time of power-on after saving the sequences, printer transfers the

 

sequences to Bluetooth module. Then the printer clears the sequence from NV

 

memory and the printer power is turned off.

 

 

 

If there is no AT command is specified (<1D>h <5A>h <03>h), no data is transferred

 

to Bluetooth module at power-on.

 

 

 

It is possible to send more than one AT command once. CR (< 0D>h) is the separator

 

between the commands. By the CR, 500 ms delay is inserted between the commands.

 

Available AT commands for Bluetooth module

 

 

 

(Only for the Bluetooth module coming with firmware version 2.12 or later)

 

 

 

 

 

 

 

AT command

Function

Factory default

Remarks

 

AT*PC=string=

Set the PIN code.

Last 4 digits of BD

1,2,3,5

 

 

(string part is up to 16 characters)

address

 

 

AT*AE=00

Authentication and encryption: Disuse

Authentication and

4,5

 

AT*AE=10

Authentication: Use, encryption: Disuse

encryption: Disuse

 

 

AT*AE=11

Authentication and encryption: Use

 

 

 

 

 

 

 

 

AT*PAIRINFO=0

Pairing information is not preserved

Pairing information is

1,5

 

AT*PAIRINFO=1

Pairing information is preserved.

not preserved

 

Remarks

1:Preserved pairing information is cleared.

2:PIN Code characters should not include Ò••Ó

3:When PIN Code is set blank (AT*PC==), authentication and encryption is set to ÒdisuseÓ.

4:When PIN Code is blank, AT*AE command can not set authentication to ÒuseÓ.

5:AT command sequences must end with CR(<0D>H).

[Caution]

When printer is turned on next time, saved AT command sequences are transferred

 

to the Bluetooth module and sent data and the response from Bluetooth module is

 

printed.

 

If the response is OK, setting is done correctly.

 

After the power on, it takes several seconds to start printing.

Ñ 62 Ñ

Image 64
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 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 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 CType Print Sample Outline of Symbol Max. Column Descriptionof Bar CodesJAN-8 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