Citizen CMP-10 manual ESC D n k NUL, See Also Sample Program Print Results

Page 26

ESC D [ n ] k NUL

[Function]

Setting Horizontal Tab Position

[Code]

<1B>H<44>H [ <n> ] k<00>H

[Range]

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

 

{0 =< k =< 20(Hex)}

[Outline]

Specifying a horizontal tab position.

 

• “n” indicates the no. of columns from the beginning to the horizontal tab position.

 

At this time, n= set position – 1 is to be specified. For example, to set the position

 

at 9th column, n=8 is to be specified.

 

• k denotes the number of horizontal tab positions you want to set.

 

• The tab position is set at position where it is “character width n” from the line

 

beginning. The character width, at this time, includes the rightward space amount.

 

In double wide characters, it is made double of the ordinary case.

 

• Tab positions can be specified are maximum 32. Specifying exceeding this is

 

ignored. <n> k, which denotes a setting position, is input in the increasing order

 

and ends at <00> H.

 

• ESC D NUL clears all the set tab positions. Following clearing, horizontal tab

 

command is ignored.

[Caution]

When the data, <n> k, is equal to or smaller than its preceding data, <n> k-1, it is

 

assumed that tab setting is finished. If this is the case, the next data onward will be

 

processed as normal data. When the data, <n> k, exceeds a 1-line print area, set the

 

horizontal tab position, assuming “Set digit position = Maximum print digits + 1.”

 

The horizontal tab position does not change even if the character width is altered

 

after setting the horizontal tab position.

[Default]

Initial value is specified every eight characters (9th, 17th, 25th, and on) of Font A.

[See Also]

HT

[Sample Program]

 

[Print Results]

See Sample Program and Print Results for HT.

— 24 —

Image 26
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 nBit Function Value Default See AlsoESC ! n END ESC $ n1 n2 ESC % n Initialize command ESC & m n1 n2 d kMax. Dots Hex Mode Vertical Direction Horizontal Direction DotsESC * m n1 n2 d k IMG1 Page Hex Type ESC +ESC n ESC ESC 3 n ESC = n Bit Equipment Value ESC n ESC ? n Hex TrackESC @ ESC D n k NUL See Also Sample Program Print ResultsESC E n ESC G n Hex Character Set ESC J nESC R n 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 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 n Range of d GS k m d1 ..... dk NUL GS k m n d1 ...... dnBar code system Range of k Range of d Description of Bar Codes For Standard ModeFor 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