Citizen CMP-10 manual GS n1 n2 n3, Hex Mode

Page 52

GS ^ n1 n2 n3

[Function]

Executing the Macro

[Code]

<1D>H<5E>H<n1><n2><n3>

[Range]

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

 

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

 

{0 =< n3 =< 1(Hex)}

[Outline]

Executing contents defined in macro.

 

The following items are set for parameters n1 to n3.

 

n1: The number of times of macro execution

 

n2: Waiting time on macro execution. Waiting time of n2 100 msec is given for

 

every execution.

 

n3: Macro execution mode

 

 

 

 

n (Hex)

Mode

 

0

Continuous execution

 

1

Execution by LF switch

Continuous execution: The Macro is executed n1 times continuously at the time intervals specified by n2.

Execution by LF switch: After waiting for lapse of time specified by n2, the LF switch is waited to be pressed. When it is pressed, the macro is executed once.

This action is repeated n1 times.

[Caution]

When this command is received while in macro definition, suspension of macro

 

 

definition is indicated. At this time, the defined content is cleared.

 

No execution takes place when macro is held undefined or n1=0.

 

While in macro execution with n3=1, paper feed with the LF switch is not available.

 

During execution of a macro, the power cannot be turned off.

[See Also]

GS :

[Sample Program]

See Sample Program and Print Results for GS :.

— 50 —

Image 52
Contents Command Reference Revision CMP-10 Command SET Code Command FunctionGS H 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 ValueESC n 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 Byte ESC \ n1 n2 ESC ` ESC a n Hex PositionESC c5 n ESC d n ESC ESC x n Default Initial value of n is Sample Program 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 CodesGS w nL nH Black Mark Function ESC l nDistance from PE sensor and print head is approx .5 mm Character Codes Table 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 Printer MechanismPower Related Specifications BatteryAC Adaptor EMI Standard